Skip to content

Commit

Permalink
create workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bradleyboyuyang committed Mar 30, 2024
1 parent 5e57863 commit 0d02402
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/shellcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: C/C++ CI

on:
push:
branches: [ "multithread" ]
pull_request:
branches: [ "multithread" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
# run shellcheck
- name: ShellCheck
uses: ludeeus/action-shellcheck@2.0.0
- name: lintmarkdown
if: success()
uses: tomwhross/write-good-action@v1.6
with:
message: |
Finish shell checking.
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token-user-login: 'github-actions[bot]'
allow-repeats: false

0 comments on commit 0d02402

Please sign in to comment.