Skip to content

refactor(runner): merge nil defaults files into single build-tag file #28

refactor(runner): merge nil defaults files into single build-tag file

refactor(runner): merge nil defaults files into single build-tag file #28

Workflow file for this run

name: pre-commit
on:
push:
branches:
- main
- master
pull_request:
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Cache pre-commit environments
uses: actions/cache@v4
with:
path: ~/.cache/pre-commit
key: pre-commit-${{ runner.os }}-${{ hashFiles('.pre-commit-config.yaml') }}
- name: Install pre-commit
run: python -m pip install pre-commit
- name: Run pre-commit
run: pre-commit run --all-files