Skip to content

Commit

Permalink
update some github actions to newer versions
Browse files Browse the repository at this point in the history
drop testing of go 1.20
  • Loading branch information
b-dean committed Apr 10, 2024
1 parent bc75270 commit d08a495
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/actions/test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ inputs:
runs:
using: composite
steps:
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: ${{ inputs.go-version }}
- run: make prep test
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
ref: master
- run: git fetch --tags
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,20 @@ jobs:
runs-on: ubuntu-latest
name: Lint
steps:
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: '1.22'
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v4
build:
runs-on: ubuntu-latest
strategy:
matrix:
version: ['1.20', '1.21', '1.22']
version: ['1.21', '1.22']
name: Go ${{ matrix.version }}
steps:
- uses: actions/checkout@v2
- name: Test
uses: ./.github/actions/test
- uses: actions/checkout@v4
- uses: ./.github/actions/test
with:
go-version: ${{ matrix.version }}

0 comments on commit d08a495

Please sign in to comment.