Skip to content

Commit bdea0d5

Browse files
authored
ci: Add Go 1.23.x - remove Go 1.20.x (#359)
* ci: Add Go 1.23.x - remove Go 1.20.x * Ignore ast package deprecation * Upgrade tinygo
1 parent 4ff26d9 commit bdea0d5

File tree

4 files changed

+16
-10
lines changed

4 files changed

+16
-10
lines changed

.github/workflows/test.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ jobs:
2121
test:
2222
strategy:
2323
matrix:
24-
go-version: [1.20.x, 1.21.x, 1.22.x]
24+
go-version: [1.21.x, 1.22.x, 1.23.x]
2525
os: [ubuntu-latest]
2626
runs-on: ${{ matrix.os }}
2727
timeout-minutes: 10
2828
steps:
29-
- uses: actions/setup-go@v3
29+
- uses: actions/setup-go@v5
3030
with:
3131
go-version: ${{ matrix.go-version }}
32-
- uses: actions/checkout@v3
32+
- uses: actions/checkout@v4
3333
- name: test
3434
run: make ci

.github/workflows/validate.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,19 @@ jobs:
2121
linters:
2222
strategy:
2323
matrix:
24-
go-version: [1.22.x]
24+
go-version: [1.23.x]
2525
os: [ubuntu-latest]
2626
runs-on: ${{ matrix.os }}
2727
timeout-minutes: 10
2828
steps:
29-
- uses: actions/setup-go@v3
29+
- uses: actions/setup-go@v5
3030
with:
3131
go-version: ${{ matrix.go-version }}
32-
- uses: actions/checkout@v3
32+
- uses: actions/checkout@v4
3333
- name: prepare generated code
3434
run: make prepare
3535
- name: lint
36-
uses: golangci/golangci-lint-action@v3
36+
uses: golangci/golangci-lint-action@v6
3737
with:
38-
version: v1.57.2
38+
version: v1.60.3
3939
args: --print-resources-usage --timeout=10m --verbose

.golangci.yml

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
linters:
22
disable:
33
- errcheck
4+
5+
linters-settings:
6+
staticcheck:
7+
checks:
8+
- all
9+
- '-SA1019' # We use the ast package.

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ ci: prepare
5555
if [ `arch` == 'x86_64' ]; then \
5656
sudo apt-get -y -q update; \
5757
sudo apt-get -y -q install build-essential; \
58-
wget -q https://github.com/tinygo-org/tinygo/releases/download/v0.32.0/tinygo_0.32.0_amd64.deb; \
59-
sudo dpkg -i tinygo_0.32.0_amd64.deb; \
58+
wget -q https://github.com/tinygo-org/tinygo/releases/download/v0.33.0/tinygo_0.33.0_amd64.deb; \
59+
sudo dpkg -i tinygo_0.33.0_amd64.deb; \
6060
export PATH=$$PATH:/usr/local/tinygo/bin; \
6161
fi
6262
go test -v ./... ./_generated

0 commit comments

Comments
 (0)