Skip to content

chore(deps): bump actions/checkout from 3 to 4 #140

chore(deps): bump actions/checkout from 3 to 4

chore(deps): bump actions/checkout from 3 to 4 #140

Workflow file for this run

---
name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v3
id: cache-shellcheck
with:
path: bin/shellcheck
key: ${{ runner.os }}-shellcheck
restore-keys: |
${{ runner.os }}-shellcheck
- name: Setup bin directories
run: |
mkdir -p "$(pwd)/bin"
export PATH=$(pwd)/bin:$HOME/.local/bin:$PATH
- name: Get shellcheck binary
if: steps.cache-shellcheck.outputs.cache-hit != 'true'
run: |
wget -qO- https://github.com/koalaman/shellcheck/releases/download/stable/shellcheck-stable.linux.x86_64.tar.xz | tar -xJv
mv "shellcheck-stable/shellcheck" "$(pwd)/bin/shellcheck"
chmod +x "$(pwd)/bin/shellcheck"
- name: Run test and shellcheck
run: |
timeout 10m make test shellcheck