Skip to content

Commit 311e87a

Browse files
committed
fix: run multiplatform tests
1 parent f9ca69b commit 311e87a

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/ci.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,29 @@ jobs:
3737
- name: Build
3838
run: nix build
3939

40+
platform-tests:
41+
name: multiplatform tests
42+
runs-on: ${{ matrix.os }}
43+
strategy:
44+
matrix:
45+
os: [ubuntu-latest, macos-latest, windows-latest]
46+
47+
steps:
48+
- name: Set up Go 1.x
49+
uses: actions/setup-go@v3
50+
with:
51+
go-version: 1.22
52+
id: go
53+
54+
- name: Install gopls
55+
run: go install golang.org/x/tools/gopls@latest
56+
57+
- name: Check out code into the Go module directory
58+
uses: actions/checkout@v3
59+
60+
- name: go test
61+
run: go test ./...
62+
4063
lint:
4164
runs-on: ubuntu-latest
4265
steps:

0 commit comments

Comments
 (0)