-
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (30 loc) · 973 Bytes
/
ci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
# SPDX-FileCopyrightText: © 2018 Stefano Zacchiroli <zack@upsilon.cc>
# SPDX-FileCopyrightText: © 2018 Martin Michlmayr <tbm@cyrius.com>
#
# SPDX-License-Identifier: GPL-3.0-or-later
name: CI
on:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
# Needed for nx-set-shas within nx-cloud-main.yml, when run on the master branch
permissions:
actions: read
contents: read
jobs:
LintShellScripts:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Add Shellcheck matcher
run: echo "::add-matcher::./.github/problem-matchers/shellcheck-gcc.json"
- name: Lint Shellscripts
uses: ludeeus/action-shellcheck@cd81f4475ab741e097ec0fe73b692f3e49d66b8c
with:
check_together: 'yes'
severity: error
- name: Remove Shellcheck matcher
if: always()
run: echo "::remove-matcher owner=shellcheck-gcc::"