Skip to content
This repository has been archived by the owner on Jan 17, 2024. It is now read-only.

fix aws waf token validation (#68) #7

fix aws waf token validation (#68)

fix aws waf token validation (#68) #7

Workflow file for this run

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