Debian Codegraph @

.github/workflows/golang-build.yaml

raw symbols SCIP
1 name: Golang Build
2
3 on: [push, workflow_dispatch, pull_request]
4
5 jobs:
6 build:
7
8 runs-on: ubuntu-latest
9 strategy:
10 matrix:
11 go-version: ["1.20", "1.21", "1.22", "1.23", "1.24"]
12
13 steps:
14 - uses: actions/checkout@v3
15 - name: Setup Go ${{ matrix.go-version }}
16 uses: actions/setup-go@v3
17 with:
18 go-version: ${{ matrix.go-version }}
19 - name: Building
20 run: go build -v ./...
21 - name: Running golangci-lint
22 uses: golangci/golangci-lint-action@v3
23 - name: Testing
24 run: go test -v ./...