From 61e270202c820dda99ae5517929826ce3c8774e9 Mon Sep 17 00:00:00 2001 From: wanghaochen2024 Date: Sun, 21 Jul 2024 12:13:48 +0800 Subject: [PATCH] Upgrade GitHub action tool chain version (#77) --- .github/workflows/go.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 36308a7..08e21fc 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -11,13 +11,13 @@ jobs: steps: - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} id: go - name: Check out code into the Go module directory - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Get dependencies run: | @@ -26,18 +26,18 @@ jobs: run: go build -v . - name: Checkout test XSD - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: xuri/xsd path: data - name: Test - run: go test -v -timeout 60m -coverprofile=coverage.txt -covermode=atomic ./ + run: go test -v -timeout 60m -coverprofile='coverage.txt' -covermode=atomic ./ - name: Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: - token: ${{secrets.CODECOV_TOKEN}} + token: ${{ secrets.CODECOV_TOKEN }} file: coverage.txt flags: unittests name: codecov-umbrella \ No newline at end of file