Update GA workflows - update pre-commit - fixes source code #2099
Workflow file for this run
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
--- | |
name: "Check Code Quality" | |
on: | |
pull_request: | |
branches: ["main", "release"] | |
jobs: | |
pre-commit: | |
name: "Check Code Quality" | |
runs-on: "ubuntu-latest" | |
steps: | |
- name: "⤵️ Check out code from GitHub" | |
uses: "actions/checkout@v4" | |
- name: "⚙️ Set up Python" | |
uses: "actions/setup-python@v4" | |
with: | |
python-version: 3.11 | |
- name: "⚙️ Set up Ruby" | |
uses: "ruby/setup-ruby@v1" | |
with: | |
ruby-version: 2.7 | |
bundler-cache: true | |
- name: "\U0001F680 Run pre-commit" | |
uses: "pre-commit/action@v3.0.0" |