Merge pull request #2735 from pre-commit/fast-checkout

upgrade asottile/workflows to get fast-checkout
This commit is contained in:
Anthony Sottile 2023-01-30 23:35:09 -05:00 committed by GitHub
commit 650afe4ffa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -36,5 +36,5 @@ runs:
testing/get-coursier.sh testing/get-coursier.sh
testing/get-dart.sh testing/get-dart.sh
testing/get-swift.sh testing/get-swift.sh
- uses: asottile/workflows/.github/actions/latest-git@v1.2.0 - uses: asottile/workflows/.github/actions/latest-git@v1.4.0
if: inputs.env == 'py38' && runner.os == 'Linux' if: inputs.env == 'py38' && runner.os == 'Linux'

View file

@ -12,12 +12,12 @@ concurrency:
jobs: jobs:
main-windows: main-windows:
uses: asottile/workflows/.github/workflows/tox.yml@v1.2.0 uses: asottile/workflows/.github/workflows/tox.yml@v1.4.0
with: with:
env: '["py38"]' env: '["py38"]'
os: windows-latest os: windows-latest
main-linux: main-linux:
uses: asottile/workflows/.github/workflows/tox.yml@v1.2.0 uses: asottile/workflows/.github/workflows/tox.yml@v1.4.0
with: with:
env: '["py38", "py39", "py310"]' env: '["py38", "py39", "py310"]'
os: ubuntu-latest os: ubuntu-latest