Skip to content

Commit b8a6d94

Browse files
authored
Merge pull request #145 from pjbgf/goversion
build: Pin dependencies, enable CodeQL for GH actions and bump Go versions
2 parents 4db0da8 + 356920e commit b8a6d94

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
strategy:
2222
fail-fast: false
2323
matrix:
24-
language: [ 'go' ]
24+
language: [ 'go', 'actions' ]
2525

2626
steps:
2727
- name: Checkout code

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
test:
1111
strategy:
1212
matrix:
13-
go-version: [1.22.x,1.23.x,1.24.x]
13+
go-version: [1.23.x,1.24.x,1.25.x]
1414
platform: [ubuntu-latest, macos-latest, windows-latest]
1515
runs-on: ${{ matrix.platform }}
1616
steps:

.github/workflows/test_wasip1.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
test:
1212
strategy:
1313
matrix:
14-
go-version: [1.23.x,1.24.x]
14+
go-version: [1.24.x,1.25.x]
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout code
@@ -24,7 +24,7 @@ jobs:
2424

2525
- name: Install wasirun
2626
run: |
27-
go install github.com/stealthrocket/wasi-go/cmd/wasirun@latest
27+
go install github.com/stealthrocket/wasi-go/cmd/wasirun@v0.8.0
2828
2929
- name: Test
3030
run: make wasitest

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ $(GOLANGCI):
1414

1515
.PHONY: test
1616
test:
17-
$(GOTEST) -race -timeout 300s ./...
17+
$(GOTEST) -race -timeout 900s ./...
1818

1919
test-coverage:
2020
echo "" > $(COVERAGE_REPORT); \

scripts/wasirun-wrapper

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Wrapper script for wasirun to be executable by go test -exec
44
#
55

6-
which wasirun || go install github.com/stealthrocket/wasi-go/cmd/wasirun@latest
6+
which wasirun || go install github.com/stealthrocket/wasi-go/cmd/wasirun@v0.8.0
77

88
# Make temp dir for for mapping into wasirun
99
map_dir=$(mktemp -d)

0 commit comments

Comments
 (0)