feat: Round ingress_expiry
to the minute (#481)
#417
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: Check shell scripts | |
on: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
paths: | |
- 'e2e/**' | |
- '.github/**' | |
push: | |
branches: | |
- main | |
jobs: | |
check_macos: | |
# ubuntu-latest has shellcheck 0.4.6, while macos-latest has 0.7.1 | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install shellcheck | |
run: | | |
mkdir $HOME/bin | |
cd $HOME/bin | |
curl -L https://github.com/koalaman/shellcheck/releases/download/v0.7.1/shellcheck-v0.7.1.darwin.x86_64.tar.xz \ | |
| xz -d | tar x | |
- name: Check e2e scripts | |
run: $HOME/bin/shellcheck-v0.7.1/shellcheck e2e/bash/*.bash e2e/bash/util/*.bash | |
- name: Check workflow scripts | |
run: $HOME/bin/shellcheck-v0.7.1/shellcheck .github/workflows/*.sh |