ci: Checkout code before looking for changes

This commit is contained in:
Edmund Miller 2021-01-23 22:58:13 -06:00
parent f4316480c5
commit 3aaacdde09
No known key found for this signature in database
GPG key ID: BD387FF7BC10AA9D

View file

@ -8,11 +8,11 @@ jobs:
# Expose matched filters as job 'modules' output variable
modules: ${{ steps.filter.outputs.changes }}
steps:
# For pull requests it's not necessary to checkout the code
- uses: dorny/paths-filter@v2
id: filter
with:
filters: '.github/filters.yml'
- uses: actions/checkout@v2
- uses: dorny/paths-filter@v2
id: filter
with:
filters: '.github/filters.yml'
ci_test:
runs-on: ubuntu-latest