-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (34 loc) · 869 Bytes
/
ci.yml
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
# SPDX-FileCopyrightText: Andrew Hayzen <ahayzen@gmail.com>
#
# SPDX-License-Identifier: MPL-2.0
name: CI tests
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
# Cancel any previous runs for the same pull request
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: true
jobs:
license_check:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4.2.2
- name: REUSE Compliance Check
uses: fsfe/reuse-action@v5
shellcheck:
name: Shellcheck
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4.2.2
- name: "build"
run: ./build.sh
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
env:
SHELLCHECK_OPTS: -x
with:
ignore_paths: ./src/**.sh