feat: install Core to /usr/local/bin and remove tarball #52
Workflow file for this run
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: Validation CI | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
workflow_dispatch: | |
env: | |
TERM: xterm | |
jobs: | |
bash-lint: | |
name: Validate with ShellCheck | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Lint with shellcheck | |
uses: ludeeus/action-shellcheck@master | |
with: | |
ignore_names: offloadcoredata usei2p usetor | |
bash-format: | |
name: Validate with shfmt | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- 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 | |
markdown-links: | |
name: Validate with markdown-link-check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Run markdown-link-check on Documentation | |
uses: gaurav-nelson/github-action-markdown-link-check@v1 | |
with: | |
use-verbose-mode: 'yes' | |
markdown-spellcheck: | |
name: Validate with PySpelling | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: rojopolis/spellcheck-github-actions@v0 | |
name: Spell Check Markdown Files | |
with: | |
output_file: spellcheck-output.txt | |
- uses: actions/upload-artifact@v3 | |
if: '!cancelled()' | |
with: | |
name: Spellcheck Output | |
path: spellcheck-output.txt | |
run-nodebuilder: | |
name: Execute nodebuilder | |
runs-on: ubuntu-latest | |
needs: [bash-lint, bash-format, markdown-links, markdown-spellcheck] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install system upgrades | |
run: sudo apt-get update && sudo NEEDRESTART_MODE=a apt-get dist-upgrade -y | |
- name: Install runtime dependency libxcb-xinerama0 | |
run: sudo apt-get update && sudo apt-get install -y libxcb-xinerama0 | |
- name: Run nodebuilder | |
run: timeout 7200 /bin/bash -x ./nodebuilder |