Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump minimum Go version to 1.21 #40

Merged
merged 2 commits into from
May 17, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
.github: update GitHub Actions
Signed-off-by: Timo Beckers <timo@incline.eu>
  • Loading branch information
ti-mo committed May 17, 2024
commit 873acb8940ef26284824adc5e71ffc1d27fafe2c
8 changes: 4 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -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
@@ -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
6 changes: 3 additions & 3 deletions .github/workflows/linux-test.yml
Original file line number Diff line number Diff line change
@@ -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
Loading