File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Linting
2+
3+ on :
4+ pull_request :
5+ paths :
6+ - " Linux/**"
7+ - " .github/dependabot.yml"
8+ - " .github/workflows/linting.yml"
9+ push :
10+ branches :
11+ - main
12+ paths :
13+ - " Linux/**"
14+ - " .github/dependabot.yml"
15+ - " .github/workflows/linting.yml"
16+
17+ jobs :
18+ linting :
19+ runs-on : ubuntu-latest
20+ permissions :
21+ contents : read
22+
23+ steps :
24+ - name : Checkout repository
25+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
26+
27+ - name : Set up Go
28+ uses : actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6
29+ with :
30+ go-version-file : Linux/installer/go.mod
31+ cache-dependency-path : Linux/installer/go.sum
32+
33+ - name : Install Nix
34+ uses : cachix/install-nix-action@ab739621df7a23f52766f9ccc97f38da6b7af14f # v31.10.5
35+ with :
36+ extra_nix_config : |
37+ experimental-features = nix-command flakes
38+
39+ - name : Install shell-check toolchain (fish, shellcheck, jq)
40+ run : |
41+ sudo apt-get update
42+ sudo apt-get install -y --no-install-recommends fish shellcheck jq
43+
44+ - name : Run linting + tests
45+ run : make -C Linux all
You can’t perform that action at this time.
0 commit comments