Debian Codegraph @

.github/workflows/main.yml

raw
1 name: Go
2
3 on:
4 push:
5 branches: [ master ]
6 pull_request:
7 branches: [ master ]
8
9 permissions:
10 contents: read
11
12 jobs:
13 build:
14 runs-on: ubuntu-latest
15 strategy:
16 matrix:
17 go: [ '1.21', '1.20', '1.13' ]
18 steps:
19 - uses: actions/checkout@v3
20 - name: Set up Go
21 uses: actions/setup-go@v3
22 with:
23 go-version: ${{ matrix.go }}
24 - name: Build
25 run: go build -v ./...
26 - name: Test
27 run: go test -v ./...