Skip to content

ci: run the script if all lint tests pass #125

ci: run the script if all lint tests pass

ci: run the script if all lint tests pass #125

name: Bash CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_dispatch:
env:
TERM: xterm
jobs:
steps:
name: Bash Validation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Lint with shellcheck
uses: ludeeus/action-shellcheck@master
with:
ignore_names: offloadcoredata usei2p usetor
#scan_dir: './'
- name: Lint with shfmt
uses: luizm/action-sh-checker@master
env:
SHFMT_OPTS: -i 2 -sr
with:
sh_checker_shellcheck_disable: true
sh_checker_exclude: offloadcoredata usei2p usetor
- name: Run nodebuilder
run: timeout 300 ./nodebuilder || [[ "$?" -eq "124" ]] && true