Merge pull request #3013 from boto/dependabot/github_actions/actions/… #2504
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: Lint code | |
on: | |
push: | |
pull_request: | |
branches-ignore: [ master ] | |
permissions: | |
contents: read | |
jobs: | |
lint: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 | |
with: | |
python-version: 3.9 | |
- name: Run pre-commit | |
uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507 |