@@ -12,40 +12,66 @@ concurrency:
1212 cancel-in-progress : ${{ github.ref != 'refs/heads/master' }}
1313
1414jobs :
15+ setup :
16+ runs-on : ubuntu-latest
17+ permissions :
18+ contents : read
19+ steps :
20+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
21+ with :
22+ persist-credentials : false
23+ - name : Set up environment
24+ uses : ./.github/actions/setup
25+ with :
26+ download-translations : ' false'
1527 constraints :
28+ needs : setup
1629 runs-on : ubuntu-latest
1730 steps :
1831 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
32+ with :
33+ persist-credentials : false
1934 - name : Set up environment
2035 uses : ./.github/actions/setup
2136 with :
2237 download-translations : ' false'
2338 - name : Check dependency version consistency
2439 run : yarn constraints
40+ - name : Check tsconfig project references are in sync
41+ run : yarn check:tsconfig-references
2542 lint :
43+ needs : setup
2644 runs-on : ubuntu-latest
2745 steps :
2846 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
47+ with :
48+ persist-credentials : false
2949 - name : Set up environment
3050 uses : ./.github/actions/setup
3151 with :
3252 download-translations : ' false'
3353 - name : Lint
3454 run : yarn lint
3555 typecheck :
56+ needs : setup
3657 runs-on : ubuntu-latest
3758 steps :
3859 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
60+ with :
61+ persist-credentials : false
3962 - name : Set up environment
4063 uses : ./.github/actions/setup
4164 with :
4265 download-translations : ' false'
4366 - name : Typecheck
4467 run : yarn typecheck
4568 validate-cli :
69+ needs : setup
4670 runs-on : ubuntu-latest
4771 steps :
4872 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
73+ with :
74+ persist-credentials : false
4975 - name : Set up environment
5076 uses : ./.github/actions/setup
5177 with :
@@ -55,21 +81,36 @@ jobs:
5581 - name : Check that the built CLI works
5682 run : node packages/sync-server/build/bin/actual-server.js --version
5783 test :
84+ needs : setup
5885 runs-on : ubuntu-latest
5986 steps :
6087 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
88+ with :
89+ persist-credentials : false
6190 - name : Set up environment
6291 uses : ./.github/actions/setup
6392 with :
6493 download-translations : ' false'
6594 - name : Test
6695 run : yarn test
96+ check-gh-actions :
97+ runs-on : ubuntu-latest
98+ permissions :
99+ security-events : write
100+ steps :
101+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
102+ with :
103+ persist-credentials : false
104+ - uses : zizmorcore/zizmor-action@71321a20a9ded102f6e9ce5718a2fcec2c4f70d8 # v0.5.2
67105
68106 migrations :
107+ needs : setup
69108 if : github.event_name == 'pull_request'
70109 runs-on : ubuntu-latest
71110 steps :
72111 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
112+ with :
113+ persist-credentials : false
73114 - name : Set up environment
74115 uses : ./.github/actions/setup
75116 with :
0 commit comments