diff --git a/.github/workflows/core_ci.yml b/.github/workflows/core_ci.yml index 2eeb865..dbc56d8 100644 --- a/.github/workflows/core_ci.yml +++ b/.github/workflows/core_ci.yml @@ -12,10 +12,6 @@ concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} cancel-in-progress: true -defaults: - run: - working-directory: ./core - jobs: test: name: test @@ -75,12 +71,13 @@ jobs: - name: Run tests uses: clechasseur/rs-cargo@v3 with: + working-directory: ./core command: test args: "--target ${{ matrix.target }}" tool: ${{ matrix.cargo-tool }} - fmt: - name: fmt + format: + name: format runs-on: ubuntu-latest steps: - name: Checkout repository @@ -91,8 +88,10 @@ jobs: with: toolchain: stable components: rustfmt - - - run: make fmt + + - name: Check formatting + working-directory: ./core + run: make fmt lint: name: lint @@ -108,6 +107,7 @@ jobs: components: clippy - name: Run linter + working-directory: ./core run: make lint build: @@ -124,4 +124,5 @@ jobs: components: clippy - name: Build + working-directory: ./core run: make build