Improve README #230
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [master, develop] | |
pull_request: | |
branches: [master] | |
jobs: | |
Defs: | |
name: Defs Validation | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Run defs tests | |
run: .github/scripts/def_check.sh SOURCES/defs | |
Shellcheck: | |
name: Shellcheck | |
runs-on: ubuntu-latest | |
needs: Defs | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Check scripts with Shellcheck | |
uses: essentialkaos/shellcheck-action@v1 | |
with: | |
files: SOURCES/mass-builder SOURCES/rbdef SOURCES/rbbuild SOURCES/libexec/*.shx SOURCES/libexec/builders/*.shx | |
Perfecto: | |
name: Perfecto | |
runs-on: ubuntu-latest | |
needs: Defs | |
steps: | |
- name: Code checkout | |
uses: actions/checkout@v4 | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Check specs with Perfecto | |
uses: essentialkaos/perfecto-action@v2 | |
with: | |
files: rbbuild.spec rbbuild-defs.spec | |
Typos: | |
name: Typos | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Check spelling | |
uses: crate-ci/typos@master |