Skip to content

Merge pull request #12 from FX31337/dev #76

Merge pull request #12 from FX31337/dev

Merge pull request #12 from FX31337/dev #76

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@v4
- uses: actions/cache@v4
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/action@v3.0.0