Skip to content

Commit

Permalink
update CI deps (#30)
Browse files Browse the repository at this point in the history
* update deps

* update golangci lint
  • Loading branch information
zetaab authored Oct 31, 2023
1 parent 487a6e2 commit e57ec90
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,15 @@ jobs:
strategy:
matrix:
go-version: # Note: Go only supports 2 versions: https://go.dev/doc/devel/release#policy
- "1.20"
- "1.21"

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-go@v3
- uses: actions/setup-go@v4
with: # Not cache: true because we also cache go-build and golangci-lint
go-version: ${{ matrix.go-version }}
cache: false

- uses: actions/cache@v3
with:
Expand All @@ -50,12 +51,12 @@ jobs:
strategy:
matrix:
go-version: # Note: Go only supports 2 versions: https://go.dev/doc/devel/release#policy
- "1.20"
- "1.21"
tinygo-version: # Note: TinyGo only supports latest: https://github.com/tinygo-org/tinygo/releases
- "0.28.1" # Latest
- "0.30.0" # Latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-go@v4
with:
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/testdata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,17 @@ jobs:
strategy:
matrix:
go-version: # Note: Go only supports 2 versions: https://go.dev/doc/devel/release#policy
- "1.20"
- "1.21"
tinygo-version: # Note: TinyGo only supports latest: https://github.com/tinygo-org/tinygo/releases
- "0.28.1" # Latest
- "0.30.0" # Latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
cache: false

- name: "Set up TinyGo"
run: | # Installing via curl so commands are similar on OS/x
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
gofumpt := mvdan.cc/[email protected]
gosimports := github.com/rinchsan/gosimports/cmd/[email protected]
golangci_lint := github.com/golangci/golangci-lint/cmd/golangci-lint@v1.52.2
golangci_lint := github.com/golangci/golangci-lint/cmd/golangci-lint@v1.55.0

.PHONY: testdata
testdata:
Expand Down

0 comments on commit e57ec90

Please sign in to comment.