Debian Codegraph @

.github/workflows/go.yml

raw symbols SCIP
1 name: Go
2 on:
3 pull_request: {}
4 push:
5 branches:
6 - master
7 jobs:
8 build:
9 name: Build
10 runs-on: ubuntu-latest
11 strategy:
12 matrix:
13 go:
14 - '1.23'
15 - '1.24'
16 - '1.25'
17 fail-fast: false
18 steps:
19 - name: Set up Go ${{ matrix.go }}
20 uses: actions/setup-go@v3
21 with:
22 go-version: ${{ matrix.go }}
23 - name: Check out code into the Go module directory
24 uses: actions/checkout@v3
25 - name: Get dependencies
26 run: |
27 go get -v -t -d ./...
28 if [ -f Gopkg.toml ]; then
29 curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
30 dep ensure
31 fi
32 #- name: Build
33 # run: go build -v ./...
34 - name: Test
35 run: go test -v ./...