This repository has been archived by the owner on Jan 17, 2024. It is now read-only.
fix aws waf token validation (#68) #7
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
name: Shellcheck | |
#on: [workflow_dispatch] | |
on: | |
push: | |
paths: freenom.sh | |
branches: [master, main] | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
test-sc: | |
name: Test shellcheck | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Show OS version | |
run: cat /etc/os-release | |
- name: Get latest shellcheck | |
run: wget -qO- "https://github.com/koalaman/shellcheck/releases/download/latest/shellcheck-latest.linux.x86_64.tar.xz" | tar -Jxvf - shellcheck-latest/shellcheck --strip-components 1 | |
- name: Show shellcheck version | |
run: ./shellcheck -V | |
- name: Set conf | |
run: sed -i 's|/usr/local/etc/freenom.conf|freenom.conf|g' freenom.sh | |
- name: Run shellcheck | |
run: ./shellcheck -x freenom.sh |