Debian Codegraph @

.github/workflows/go.yml

raw symbols SCIP
1 name: Build and test jose2go project
2
3 on:
4 push:
5 branches: [ "master" ]
6 pull_request:
7 branches: [ "master" ]
8
9 jobs:
10
11 build-and-test:
12 runs-on: ${{ matrix.os }}
13 strategy:
14 fail-fast: false
15 matrix:
16 os: [windows-latest, ubuntu-latest, macos-latest]
17 version: ['1.20', '1.21', '1.22']
18 steps:
19 - name: Checkout library sources
20 uses: actions/checkout@v3
21
22 - name: Set up Go
23 uses: actions/setup-go@v4
24 with:
25 go-version: ${{ matrix.version }}
26
27 - name: Build
28 run: go build -v ./...
29
30 - name: Test
31 run: go test ./...
32