Skip to content

Commit

Permalink
.github: update GitHub Actions
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Beckers <timo@incline.eu>
  • Loading branch information
ti-mo committed May 17, 2024
1 parent a2ff84b commit 7ea633b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,23 @@ jobs:
build:
strategy:
matrix:
go-version: ["1.20", "1.21"]
go-version: ["1.21", "1.22"]
runs-on: ubuntu-latest

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 Go module
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Tidy Go module
run: |
go mod tidy
test -z "$(git status --porcelain)" || (echo "please run 'go mod tidy' and submit your changes"; exit 1)
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v6
6 changes: 3 additions & 3 deletions .github/workflows/linux-integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ jobs:
build:
strategy:
matrix:
go-version: ["1.20", "1.21"]
go-version: ["1.21", "1.22"]
runs-on: ubuntu-latest

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 Go module
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Run integration tests
run: make integration
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/linux-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ jobs:
build:
strategy:
matrix:
go-version: ["1.20", "1.21"]
go-version: ["1.21", "1.22"]
runs-on: ubuntu-latest

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 Go module
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Run tests
run: make test

0 comments on commit 7ea633b

Please sign in to comment.