Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Annotations fail on jobs with multiple targets #138

Open
andrewbanchich opened this issue Apr 17, 2021 · 0 comments
Open

Annotations fail on jobs with multiple targets #138

andrewbanchich opened this issue Apr 17, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@andrewbanchich
Copy link

Workflow file:

on:
  pull_request:
    branches: [ master ]

name: Clippy
jobs:
  rustfmt:
    runs-on: ubuntu-latest
    continue-on-error: true
    steps:
      - uses: actions/checkout@v2
      - run: rustup component add rustfmt
      - run: cargo fmt -- --check
 
  clippy_check:
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [windows-2019, ubuntu-latest]
    steps:
      - uses: actions/checkout@v2
      - uses: actions-rs/toolchain@v1
        with:
            toolchain: nightly
            components: clippy
  
      - uses: actions-rs/clippy-check@v1
        env:
          SQLX_OFFLINE: true
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          args: --all-features -- -D warnings

This will create annotations for the first completed Clippy check, but any others will never finish.

Screenshot_20210417-092702~2
Screenshot_20210417-092713~2

@andrewbanchich andrewbanchich added the bug Something isn't working label Apr 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant