From: Cezar Craciunoiu Date: Sat, 14 Oct 2023 09:22:13 +0000 (+0300) Subject: .github/workflows: Add github workflows checks X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=refs%2Fpull%2F1137%2Fhead;p=unikraft%2Funikraft.git .github/workflows: Add github workflows checks Signed-off-by: Cezar Craciunoiu --- diff --git a/.github/workflows/actcheck.yaml b/.github/workflows/actcheck.yaml new file mode 100644 index 000000000..292fdc017 --- /dev/null +++ b/.github/workflows/actcheck.yaml @@ -0,0 +1,23 @@ +name: actionlint + +on: + pull_request: + types: [opened, synchronize, reopened] + branches: [staging] + paths: + - '.github/workflows/**' + +jobs: + action-lint: + runs-on: ubuntu-latest + name: Action Lint + steps: + - uses: actions/checkout@v4 + + - name: Install action linter + run: | + mkdir -p "$HOME"/.local/bin + curl -sL https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash | bash -s -- latest "$HOME"/.local/bin + + - name: Check that all workflows are valid + run: actionlint -verbose