File tree Expand file tree Collapse file tree 2 files changed +45
-0
lines changed
Expand file tree Collapse file tree 2 files changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ ##
2+ # Configuration for `act`.
3+ # It allows to run GitHub Actions locally.
4+ #
5+ # 1. Install Docker.
6+ # 2. Install `act` (on Mac: `brew install act`).
7+ # 3. Run: `act`.
8+ #
9+ # Docker must be running for `act` to work.
10+ #
11+ # First run can take a long time,
12+ # as the container image is downloaded (~2 GB).
13+ # Run `act -v` to see the progress.
14+ ##
15+
16+ # Force x86_64 architecture for Apple Silicon Macs.
17+ --container-architecture linux/amd64
18+
19+ # Avoid re-downloading the container image on every run.
20+ --pull=false
21+
22+ # Reuse the container between runs,
23+ # instead of recreating it every time.
24+ --reuse
Original file line number Diff line number Diff line change 1+ # https://www.shellcheck.net/
2+ name : ShellCheck
3+
4+ on :
5+ push :
6+ branches : [main]
7+ pull_request :
8+ branches : [main]
9+
10+ jobs :
11+ shellcheck :
12+ name : Lint Shell Scripts
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - name : Checkout repository
17+ uses : actions/checkout@v4
18+
19+ # https://github.com/ludeeus/action-shellcheck
20+ - name : Run ShellCheck
21+ uses : ludeeus/action-shellcheck@master
You can’t perform that action at this time.
0 commit comments