diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3a6bfd0f9..a94e602b0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,20 +12,21 @@ jobs: outputs: dirs: ${{ steps.filter.outputs.changes }} steps: - - uses: dorny/paths-filter@v2 - id: filter - with: - filters: | - .: 'src/*' - ./test_framework: test_framework/* - ./youki_integration_test: youki_integration_test/* + - uses: actions/checkout@v2 + - uses: dorny/paths-filter@v2 + id: filter + with: + filters: | + .: 'src/*' + ./test_framework: test_framework/* + ./youki_integration_test: youki_integration_test/* check: needs: changes runs-on: ubuntu-latest strategy: matrix: rust: [stable] - dirs: ${{ fromJSON(needs.changes.outputs.dirs) }} + dirs: ${{ fromJSON(needs.changes.outputs.dirs) }} steps: - uses: actions/checkout@v2 - uses: actions/cache@v2 @@ -47,7 +48,7 @@ jobs: - name: Check formatting run: cargo fmt --all -- --check working-directory: ${{matrix.dirs}} - - name : Check clippy lints + - name: Check clippy lints working-directory: ${{matrix.dirs}} run: cargo clippy --all-targets --all-features -- -D warnings tests: