forked from unraid/ci-runner-farm
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (28 loc) · 895 Bytes
/
Copy pathlint.yml
File metadata and controls
35 lines (28 loc) · 895 Bytes
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
name: Lint
# Linux gate for syntax, config/provider contracts, fork release safety, safe
# paths, and a temporary package build. The same entry point is available to
# local developers through tests/run-linux-checks.sh.
on:
pull_request:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
lint:
name: Repository checks
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
with:
persist-credentials: false
- name: Run repository checks
run: bash tests/check.sh
- name: Lint generated GitLab Runner configuration
run: bash tests/gitlab-runner-lint.sh