Skip to content

Commit

Permalink
chore(ci): upgrade all Github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
wI2L committed Oct 20, 2022
1 parent db0a75e commit f912ef0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,27 +16,26 @@ jobs:
fail-fast: false
matrix:
go:
- "1.15.x"
- "1.16.x"
- "1.17.x"
- "1.18.x"
- "1.19.x"
os:
- ubuntu-latest
- macos-latest
- windows-latest
steps:
- name: Install Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Run tests
run: ./ci/test.sh
- name: Upload coverage
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
file: coverage.txt
files: coverage.txt

bench:
name: Benchmarks
Expand All @@ -46,14 +45,14 @@ jobs:
fail-fast: false
matrix:
go:
- "1.17.x"
- "1.19.x"
steps:
- name: Install Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Install tools
run: go get golang.org/x/perf/cmd/benchstat
env:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: 1.17
go-version: 1.19
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
uses: goreleaser/goreleaser-action@v3
with:
distribution: goreleaser
version: latest
Expand Down

0 comments on commit f912ef0

Please sign in to comment.