Skip to content

Commit 4a87405

Browse files
authored
Merge pull request #5838 from larsewi/static
job-static-check.yml: Removed code to checkout unused repos
2 parents 8d55063 + adff533 commit 4a87405

File tree

1 file changed

+18
-35
lines changed

1 file changed

+18
-35
lines changed
Lines changed: 18 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,28 @@
11
name: Static Check
22

3-
on:
4-
workflow_call
3+
on: workflow_call
54

65
jobs:
76
static_check:
87
runs-on: ubuntu-24.04
98
steps:
10-
- name: Checkout Core
11-
uses: actions/checkout@v3
12-
with:
13-
submodules: recursive
14-
path: core
9+
- name: Checkout Core
10+
uses: actions/checkout@v3
11+
with:
12+
submodules: recursive
13+
path: core
1514

16-
- name: Get Togethers
17-
uses: cfengine/together-javascript-action@main
18-
id: together
19-
with:
20-
myToken: ${{ secrets.GITHUB_TOKEN }}
15+
- name: Get Togethers
16+
uses: cfengine/together-javascript-action@main
17+
id: together
18+
with:
19+
myToken: ${{ secrets.GITHUB_TOKEN }}
2120

22-
- name: Checkout Buildscripts
23-
uses: actions/checkout@v3
24-
with:
25-
repository: cfengine/buildscripts
26-
submodules: recursive
27-
path: buildscripts
28-
ref: ${{steps.together.outputs.buildscripts || github.base_ref || github.ref}}
21+
- name: Prepare Environment
22+
run: |
23+
sudo apt-get update && \
24+
sudo apt-get install -y buildah
2925
30-
- name: Checkout Masterfiles
31-
uses: actions/checkout@v3
32-
with:
33-
repository: cfengine/masterfiles
34-
submodules: recursive
35-
path: masterfiles
36-
ref: ${{steps.together.outputs.masterfiles || github.base_ref || github.ref}}
37-
38-
- name: Prepare Environment
39-
run: |
40-
sudo apt-get update && \
41-
sudo apt-get install -y buildah
42-
43-
- name: Run The Test
44-
working-directory: ./core
45-
run: ./tests/static-check/run.sh
26+
- name: Run The Test
27+
working-directory: ./core
28+
run: ./tests/static-check/run.sh

0 commit comments

Comments
 (0)