Skip to content

Commit

Permalink
Add workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
takumism committed Mar 19, 2024
1 parent 51c22e9 commit 529e0ae
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/init-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: "init script test"
on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Show dotfiles
run: make list
- name: Install dotfiles
run: make install
- name: Self-documented Makefile
run: make help
28 changes: 28 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: lint
on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check the setup scripts
uses: reviewdog/action-shellcheck@v1
with:
github_token: ${{ secrets.github_token }}
reporter: github-check
path: "."
pattern: "*.sh"
- name: Check the scripts in '~/bin'
uses: reviewdog/action-shellcheck@v1
with:
github_token: ${{ secrets.github_token }}
reporter: github-check
path: "./bin/"
pattern: "*"

0 comments on commit 529e0ae

Please sign in to comment.