Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
phalanx-hk committed Jan 11, 2024
1 parent 888e535 commit 1615447
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 12 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Lint

on:
push:
branches: main
path-ignore:
- 'README.md'
- 'LICENSE'

jobs:
lint:
name: Lint
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install ShellCheck
run: sudo apt install -y shellcheck

- name: Run ShellCheck
run: shellcheck ./ubuntu/scripts/* ./mac/setup.sh
6 changes: 0 additions & 6 deletions .github/workflows/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Install ShellCheck
run: sudo apt install -y shellcheck

- name: Run ShellCheck
run: shellcheck mac/setup.sh

- name: Setup
run: |
cd mac
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install ShellCheck
run: sudo apt install -y shellcheck

- name: Run ShellCheck
run: shellcheck ubuntu/scripts/*

- name: Setup
run: |
Expand Down

0 comments on commit 1615447

Please sign in to comment.