Split 'gitkraken-aur/' into commit 'b742b3288cb126dc4d53c0da4b78d64a6… #346
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: Linting | |
on: [push, pull_request] | |
permissions: read-all | |
jobs: | |
validation: | |
name: Validate package | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Validate PKGBUILD | |
id: validate-pkgbuild | |
uses: Azd325/arch-pkgbuild-builder@master | |
with: | |
target: "pkgbuild" | |
builddir: "gitkraken-aur" | |
pkgname: "gitkraken" | |
- name: Validate SRCINFO | |
id: validate-srcinfo | |
uses: Azd325/arch-pkgbuild-builder@master | |
with: | |
target: "srcinfo" | |
builddir: "gitkraken-aur" | |
pkgname: "gitkraken" | |
linter: | |
name: Code Base | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
with: | |
# Full git history is needed to get a proper list of changed files within `super-linter` | |
fetch-depth: 0 | |
- name: Lint Code Base | |
uses: github/super-linter/slim@v7 | |
env: | |
VALIDATE_ALL_CODEBASE: false | |
VALIDATE_HTML: false | |
VALIDATE_HTML_PRETTIER: false | |
DEFAULT_BRANCH: master | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |