feat: add simple github action task
This commit is contained in:
parent
06554e65ed
commit
3d55a0adbc
1 changed files with 22 additions and 0 deletions
22
.github/workflows/github-actions.yml
vendored
Normal file
22
.github/workflows/github-actions.yml
vendored
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
name: GitHub Actions
|
||||||
|
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀
|
||||||
|
on: [push]
|
||||||
|
jobs:
|
||||||
|
lint-shellcheck:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: install shellcheck
|
||||||
|
run: sudo apt-get install -y shellcheck
|
||||||
|
- name: checkout repo
|
||||||
|
uses: actions/checkout@main
|
||||||
|
- name: lint files against shellcheck
|
||||||
|
run: make lint_shellcheck
|
||||||
|
lint-shfmt:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: install shfmt
|
||||||
|
run: sudo apt-get install -y shfmt
|
||||||
|
- name: checkout repo
|
||||||
|
uses: actions/checkout@main
|
||||||
|
- name: lint files against shfmt
|
||||||
|
run: make lint_shfmt
|
Loading…
Add table
Add a link
Reference in a new issue