Skip to content

Development enhancements #366

Development enhancements

Development enhancements #366

Workflow file for this run

---
name: Check
# yamllint disable-line rule:truthy
on:
pull_request:
push:
jobs:
Pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: ~/.cache/pre-commit
key: pre-commit|${{ hashFiles('.pre-commit-config.yaml') }}
- uses: actions/setup-python@v3
- name: Installs shfmt
run: >
sudo install /dev/stdin /usr/local/bin/shfmt
< <(curl -L "$SHFMT_URL")
env:
# yamllint disable rule:line-length
SHFMT_URL: https://github.com/mvdan/sh/releases/download/v3.1.1/shfmt_v3.1.1_linux_amd64
- uses: pre-commit/[email protected]