Skip to content

Commit

Permalink
Create reviewdog.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zen0bit authored Apr 4, 2024
1 parent e7b90d0 commit 07a5857
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions .github/workflows/reviewdog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: reviewdog

on: [push, pull_request, workflow_dispatch]

#jobs:

#checks:
#name: Check scripts
#runs-on: ubuntu-latest

#strategy:
#matrix:
#package:
# - "**/*.sh" # checks all .sh files
#- quickget
#- quickemu
#steps:
#- uses: actions/checkout@v3
#- uses: cachix/install-nix-action@v17
#with:
#install_url: https://nixos.org/nix/install
#extra_nix_config: |
#auto-optimise-store = true
#experimental-features = nix-command flakes
#- run: nix run nixpkgs#shellcheck -- -S error ${{ matrix.package }}

jobs:
quickemu-check:
name: runner / quickemu
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: shellcheck
uses: reviewdog/action-shellcheck@v1
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review # Change reporter.
path: "." # Optional.
pattern: "quickemu" # Optional.
exclude: "./.git/*" # Optional.
check_all_files_with_shebangs: "false" # Optional.
quickget-check:
name: runner / quickget
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: shellcheck
uses: reviewdog/action-shellcheck@v1
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review # Change reporter.
path: "." # Optional.
pattern: "quickget" # Optional.
exclude: "./.git/*" # Optional.
check_all_files_with_shebangs: "false" # Optional.

0 comments on commit 07a5857

Please sign in to comment.