Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 18 additions & 35 deletions .github/workflows/job-static-check.yml
Original file line number Diff line number Diff line change
@@ -1,45 +1,28 @@
name: Static Check

on:
workflow_call
on: workflow_call

jobs:
static_check:
runs-on: ubuntu-24.04
steps:
- name: Checkout Core
uses: actions/checkout@v3
with:
submodules: recursive
path: core
- name: Checkout Core
uses: actions/checkout@v3
with:
submodules: recursive
path: core

- name: Get Togethers
uses: cfengine/together-javascript-action@main
id: together
with:
myToken: ${{ secrets.GITHUB_TOKEN }}
- name: Get Togethers
uses: cfengine/together-javascript-action@main
id: together
with:
myToken: ${{ secrets.GITHUB_TOKEN }}

- name: Checkout Buildscripts
uses: actions/checkout@v3
with:
repository: cfengine/buildscripts
submodules: recursive
path: buildscripts
ref: ${{steps.together.outputs.buildscripts || github.base_ref || github.ref}}
- name: Prepare Environment
run: |
sudo apt-get update && \
sudo apt-get install -y buildah

- name: Checkout Masterfiles
uses: actions/checkout@v3
with:
repository: cfengine/masterfiles
submodules: recursive
path: masterfiles
ref: ${{steps.together.outputs.masterfiles || github.base_ref || github.ref}}

- name: Prepare Environment
run: |
sudo apt-get update && \
sudo apt-get install -y buildah

- name: Run The Test
working-directory: ./core
run: ./tests/static-check/run.sh
- name: Run The Test
working-directory: ./core
run: ./tests/static-check/run.sh
Loading