File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121
2222 steps :
2323 - name : Checkout Code
24- uses : actions/checkout@v4
24+ uses : actions/checkout@v6
2525 with :
2626 # Full git history is needed to get a proper list of changed files within `super-linter`
2727 fetch-depth : 0
3333 FILTER_REGEX_EXCLUDE : .github/*
3434 DEFAULT_BRANCH : master
3535 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
36+
37+ shell-compat :
38+ name : Shell compatibility (.dappnode_profile)
39+ runs-on : ${{ matrix.os }}
40+ strategy :
41+ fail-fast : false
42+ matrix :
43+ os : [ubuntu-latest, macos-latest]
44+
45+ steps :
46+ - name : Checkout Code
47+ uses : actions/checkout@v6
48+
49+ - name : Install zsh (Ubuntu)
50+ if : runner.os == 'Linux'
51+ run : |
52+ sudo apt-get update
53+ sudo apt-get install -y zsh
54+
55+ - name : Parse check (bash)
56+ run : bash -n .dappnode_profile
57+
58+ - name : Parse check (zsh)
59+ run : zsh -n .dappnode_profile
60+
61+ - name : Source check (bash)
62+ run : bash -lc 'set -euo pipefail; source ./.dappnode_profile'
63+
64+ - name : Source check (zsh)
65+ run : zsh -lc 'set -e; source ./.dappnode_profile; alias dappnode_status >/dev/null'
You can’t perform that action at this time.
0 commit comments