diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 56722a4a5..b0e9b93b6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,6 +37,29 @@ jobs: - name: Build run: nix build + platform-tests: + name: multiplatform tests + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] + + steps: + - name: Set up Go 1.x + uses: actions/setup-go@v3 + with: + go-version: 1.22 + id: go + + - name: Install gopls + run: go install golang.org/x/tools/gopls@latest + + - name: Check out code into the Go module directory + uses: actions/checkout@v3 + + - name: go test + run: go test ./... + lint: runs-on: ubuntu-latest steps: