Skip to content

Merge branch 'main' into meag/asana-add-approved-section #98

Merge branch 'main' into meag/asana-add-approved-section

Merge branch 'main' into meag/asana-add-approved-section #98

Workflow file for this run

---
name: Checks
on: [push]
jobs:
setup:
name: Setup
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# cache the ASDF directory, using the values from .tool-versions
- name: ASDF cache
uses: actions/cache@v3
with:
path: ~/.asdf
key: ${{ runner.os }}-asdf-v2-${{ hashFiles('.tool-versions') }}
id: asdf-cache
# only run `asdf install` if we didn't hit the cache
- uses: asdf-vm/actions/install@v1
if: steps.asdf-cache.outputs.cache-hit != 'true'
lint_scripts:
name: Lint Scripts
runs-on: ubuntu-latest
needs: setup
steps:
- uses: actions/checkout@v3
- name: ASDF cache
uses: actions/cache@v3
with:
path: ~/.asdf
key: ${{ runner.os }}-asdf-v2-${{ hashFiles('.tool-versions') }}
id: asdf-cache
- name: Setup ASDF environment
uses: mbta/actions/reshim-asdf@v1
- name: Shellcheck
run: shellcheck -a -S style .github/*.sh
- name: Check workflow files
run: actionlint -color