Skip to content

[pre-commit.ci] pre-commit autoupdate #741

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #741

Workflow file for this run

name: Format
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
pre-commit:
name: pre-commit
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Install luacheck
run: sudo apt update && sudo apt-get install luarocks libxml2-utils && sudo luarocks install luacheck
- name: Install micromamba environment
uses: mamba-org/provision-with-micromamba@v15
with:
environment-file: environment.yml
- run: |
micromamba run --name myconfigs pip install sourcery
micromamba run --name myconfigs sourcery login --token ${{ secrets.SOURCERY_TOKEN }}
- uses: actions/setup-python@v2
- uses: pre-commit/[email protected]