Merge pull request #570 from Farama-Foundation/core-updates #97
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://pre-commit.com | |
# This GitHub Action assumes that the repo contains a valid .pre-commit-config.yaml file. | |
name: Pre-commit checks | |
on: | |
pull_request: | |
push: | |
branches: [master] | |
permissions: | |
contents: read # to fetch code (actions/checkout) | |
jobs: | |
pre-commit: | |
name: Pre-commit checks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
- run: python -m pip install pre-commit | |
- run: python -m pre_commit --version | |
- run: python -m pre_commit install | |
- run: python -m pre_commit run --all-files |