Debian Codegraph @

.github/workflows/prebuild.yml

raw symbols SCIP
1 name: Pre-build
2
3 on:
4 push:
5 branches: [ main ]
6 pull_request:
7 branches: [ main ]
8
9 env:
10 GO_VERSION: '1.20.12'
11
12 jobs:
13 check:
14 runs-on: ubuntu-20.04
15 steps:
16 - uses: actions/checkout@v3
17 with:
18 # check-dco will check the last 20 commits, but commit ranges
19 # exclude the start commit in the result, but need that commit
20 # in order to calculate the range. i.e. HEAD~20..HEAD includes
21 # 20 commits, but including HEAD it needs 21 commits.
22 fetch-depth: 21
23 - uses: actions/setup-go@v4
24 with:
25 go-version: ${{ env.GO_VERSION }}
26 - run: wget https://github.com/google/flatbuffers/releases/download/v22.9.29/Linux.flatc.binary.g++-10.zip
27 - run: unzip Linux.flatc.binary.g++-10.zip
28 - run: ./scripts/install-check-tools.sh
29 - run: ./scripts/check-ltag.sh
30 - run: ./scripts/check-dco.sh
31 - run: ./scripts/check-lint.sh
32 - run: PATH=$PATH:$(pwd) ./scripts/check-flatc.sh