-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from thistletech/syncom/gha-update-dependencies
GHA: update actions
- Loading branch information
Showing
5 changed files
with
67 additions
and
76 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
name: 'Sanity Checks' | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'main' | ||
pull_request: | ||
branches: | ||
- 'main' | ||
|
||
jobs: | ||
# markdownlint: https://github.com/markdownlint/markdownlint | ||
mdl: | ||
name: 'markdownlint' | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: 'Checkout repository' | ||
uses: actions/[email protected] | ||
- name: "Install Ruby" | ||
# v1.172.0 | ||
uses: ruby/setup-ruby@d4526a55538b775af234ba4af27118ed6f8f6677 | ||
with: | ||
ruby-version: '3.3' | ||
bundler-cache: true | ||
- name: 'Install mdl' | ||
run: gem install mdl | ||
- name: 'Run mdl' | ||
run: | | ||
set -euxo pipefail | ||
cd ${{ github.workspace }}/ | ||
mdl --version | ||
for f in $(find . \( -path ./.git -o -path ./bin -o -path ./.github \) -prune -o -type f -name "*.md" -print); do | ||
mdl "$f" | ||
done | ||
shellcheck: | ||
name: "shellcheck" | ||
strategy: | ||
fail-fast: false | ||
# Run on Linux | ||
matrix: | ||
os: [ubuntu-latest] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/[email protected] | ||
- name: Install shellcheck on Ubuntu | ||
run: | | ||
sudo apt update | ||
sudo apt install shellcheck -y | ||
- name: Run shellcheck | ||
run: | | ||
set -euxo pipefail | ||
cd ${{ github.workspace }}/ | ||
shellcheck --version | ||
for f in $(find . \( -path ./.git -o -path ./bin \) -prune -o -type f -print); do | ||
if file "$f" | grep "shell script" &>/dev/null; then | ||
shellcheck -x "$f" | ||
fi | ||
done |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# See https://help.github.com/articles/about-codeowners/ | ||
* @syncom @pldubouilh @russellchapin | ||
* @syncom @pldubouilh @russellchapin @wmagda |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters