Debian Codegraph @

.github/workflows/golang-ci.yml

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