Debian Codegraph @

.github/workflows/go.yml

raw symbols SCIP
1 name: Test Generated Go
2
3 on:
4 push:
5 pull_request:
6 merge_group:
7 schedule:
8 - cron: '0 0 1 * *'
9
10 jobs:
11 test-go:
12
13 runs-on: ubuntu-latest
14
15 concurrency:
16 group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
17 cancel-in-progress: true
18
19 steps:
20 - uses: actions/checkout@v4
21 with:
22 submodules: recursive
23 - name: Set up Go 1.13
24 uses: actions/setup-go@v5
25 with:
26 go-version: 1.13
27 id: go
28 - name: make only-test-go-module
29 run: make only-test-go-module EXTERNAL_DEPENDENCIES=1
30 - name: make only-test-go-files
31 run: make only-test-go-files EXTERNAL_DEPENDENCIES=1
32 - name: Test for non-diff of gofmt
33 run:
34 DIFF="$(find fiat-go -name "*.go" | xargs gofmt -s -d)"
35 echo "${DIFF}"
36 test -z "${DIFF}"