Skip to content

Commit

Permalink
ci: bump Go version (#1148)
Browse files Browse the repository at this point in the history
* ci: bump Go version

Signed-off-by: Abiola Ibrahim <[email protected]>

* ci: bump golang-ci-lint

Signed-off-by: Abiola Ibrahim <[email protected]>

* ci: reduce cpu usage to 1

Signed-off-by: Abiola Ibrahim <[email protected]>

* ci: bump Go version

Signed-off-by: Abiola Ibrahim <[email protected]>

* ci: change github runner

Signed-off-by: Abiola Ibrahim <[email protected]>

* ci: revert github runner

Signed-off-by: Abiola Ibrahim <[email protected]>

* ci: use vz for vm

Signed-off-by: Abiola Ibrahim <[email protected]>

* ci: revert cpu and vm-type

Signed-off-by: Abiola Ibrahim <[email protected]>

* ci: run integration tests sequentially

Signed-off-by: Abiola Ibrahim <[email protected]>

---------

Signed-off-by: Abiola Ibrahim <[email protected]>
  • Loading branch information
abiosoft authored Oct 1, 2024
1 parent 2fc61da commit 90c434c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.21"
go-version: "1.23"

- name: Build
run: go build -v ./...
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.21"
go-version: "1.23"

- name: install gcc-aarch64-linux-gnu
run: |
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.21"
go-version: "1.23"

- name: generate binaries
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/golang-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.21"
go-version: "1.23"
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.52.0
version: v1.61.0
args: --timeout 3m0s
14 changes: 9 additions & 5 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.21"
go-version: "1.23"

- name: Install CLI deps
env:
Expand Down Expand Up @@ -63,13 +63,14 @@ jobs:

kubernetes-containerd:
runs-on: macos-13
needs: kubernetes-docker
steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.21"
go-version: "1.23"

- name: Install CLI deps
env:
Expand Down Expand Up @@ -102,13 +103,14 @@ jobs:

docker:
runs-on: macos-13
needs: kubernetes-containerd
steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.21"
go-version: "1.23"

- name: Install CLI deps
env:
Expand Down Expand Up @@ -150,13 +152,14 @@ jobs:

containerd:
runs-on: macos-13
needs: docker
steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.21"
go-version: "1.23"

- name: Install CLI deps
env:
Expand Down Expand Up @@ -198,13 +201,14 @@ jobs:

incus:
runs-on: macos-13
needs: containerd
steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.21"
go-version: "1.23"

- name: Install CLI deps
env:
Expand Down

0 comments on commit 90c434c

Please sign in to comment.