Debian Codegraph @

.forgejo/workflows/test.yml

raw symbols SCIP
1 name: check-and-test
2
3 on:
4 pull_request:
5 push:
6 branches:
7 - '**'
8
9 jobs:
10 check-and-test:
11 runs-on: docker
12 container:
13 image: 'data.forgejo.org/oci/ci:1'
14 steps:
15 - uses: https://data.forgejo.org/actions/checkout@v6
16 - name: setup go
17 uses: https://data.forgejo.org/actions/setup-go@v6
18 with:
19 go-version-file: go.mod
20 - name: golangci-lint
21 uses: https://data.forgejo.org/golangci/golangci-lint-action@v9
22 with:
23 version: v2.12.2
24 - name: test and build
25 run: |
26 go build
27 go test -v -race -coverprofile=coverage.txt -covermode=atomic