Skip to content

Commit

Permalink
Upgrade GitHub action tool chain version (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
wanghaochen2024 authored Jul 21, 2024
1 parent db840e1 commit 61e2702
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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

0 comments on commit 61e2702

Please sign in to comment.