From bda45d169dd73bb043f5a4d9c34b03107cbf0ee2 Mon Sep 17 00:00:00 2001 From: svartalf Date: Mon, 28 Oct 2019 19:05:13 +0300 Subject: [PATCH 1/5] Switching to the Action Annotations --- .github/workflows/clippy_check.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/clippy_check.yml b/.github/workflows/clippy_check.yml index d2d0991..283da49 100644 --- a/.github/workflows/clippy_check.yml +++ b/.github/workflows/clippy_check.yml @@ -14,6 +14,4 @@ jobs: toolchain: ${{ steps.component.outputs.toolchain }} override: true - run: rustup component add clippy - - uses: actions-rs/clippy-check@v1 - with: - token: ${{ secrets.GITHUB_TOKEN }} + - uses: actions-rs/clippy-check@annotations From f73e3a0368c4feadfd8c6ae4ac6b85a3d56a4007 Mon Sep 17 00:00:00 2001 From: svartalf Date: Mon, 28 Oct 2019 19:07:15 +0300 Subject: [PATCH 2/5] Triggering build --- example/src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/example/src/lib.rs b/example/src/lib.rs index 488b58a..8de842d 100644 --- a/example/src/lib.rs +++ b/example/src/lib.rs @@ -38,4 +38,6 @@ mod tests { fn test_pid_is_working() { assert_eq!(pid() as u32, process::id()); } -} \ No newline at end of file +} + +# Triggering build From 9d310b1841842cccc8261bb43fb24040d550e792 Mon Sep 17 00:00:00 2001 From: svartalf Date: Mon, 28 Oct 2019 19:38:59 +0300 Subject: [PATCH 3/5] Compile error --- example/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/src/lib.rs b/example/src/lib.rs index 8de842d..55d6df8 100644 --- a/example/src/lib.rs +++ b/example/src/lib.rs @@ -40,4 +40,4 @@ mod tests { } } -# Triggering build +// Triggering build From 6932457f5c43d175abeb071eb93831303b4a9f00 Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Fri, 8 Nov 2019 06:06:45 +0900 Subject: [PATCH 4/5] Remove deprecated action --- .github/workflows/clippy_check.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/clippy_check.yml b/.github/workflows/clippy_check.yml index d2d0991..0e89f28 100644 --- a/.github/workflows/clippy_check.yml +++ b/.github/workflows/clippy_check.yml @@ -5,15 +5,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - - id: component - uses: actions-rs/components-nightly@v1 - with: - component: clippy - uses: actions-rs/toolchain@v1 with: - toolchain: ${{ steps.component.outputs.toolchain }} + toolchain: nightly + components: clippy override: true - - run: rustup component add clippy - uses: actions-rs/clippy-check@v1 with: token: ${{ secrets.GITHUB_TOKEN }} From 71cbc9a30591c7c31074896bccdd2289656017c3 Mon Sep 17 00:00:00 2001 From: svartalf Date: Sat, 9 Nov 2019 15:54:39 +0300 Subject: [PATCH 5/5] testing annotations once again --- .github/workflows/clippy_check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/clippy_check.yml b/.github/workflows/clippy_check.yml index 283da49..c752493 100644 --- a/.github/workflows/clippy_check.yml +++ b/.github/workflows/clippy_check.yml @@ -14,4 +14,4 @@ jobs: toolchain: ${{ steps.component.outputs.toolchain }} override: true - run: rustup component add clippy - - uses: actions-rs/clippy-check@annotations + - uses: actions-rs/clippy-check@annotations-fallback