From 9a710191002c47c73333a4868c511bf0d713d5f2 Mon Sep 17 00:00:00 2001 From: Shunsuke Watanabe Date: Wed, 20 Jul 2022 01:02:10 +0900 Subject: [PATCH] fix --- .github/workflows/checks-and-tests.yaml | 20 ---------------- .github/workflows/release.yaml | 32 +------------------------ .github/workflows/static-analysis.yaml | 10 -------- 3 files changed, 1 insertion(+), 61 deletions(-) diff --git a/.github/workflows/checks-and-tests.yaml b/.github/workflows/checks-and-tests.yaml index f13221d..5811d66 100644 --- a/.github/workflows/checks-and-tests.yaml +++ b/.github/workflows/checks-and-tests.yaml @@ -16,16 +16,6 @@ jobs: - name: Check targets are installed correctly run: rustup target list --installed - - uses: actions/cache@v3 - with: - path: | - ~/.cargo/registry - ~/.cargo/git - target/ - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - restore-keys: | - ${{ runner.os }}-cargo- - - name: Check all features compilation run: cargo check --verbose @@ -41,15 +31,5 @@ jobs: - name: Check targets are installed correctly run: rustup target list --installed - - uses: actions/cache@v3 - with: - path: | - ~/.cargo/registry - ~/.cargo/git - target/ - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - restore-keys: | - ${{ runner.os }}-cargo- - - name: Run all tests run: cargo test --verbose diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6e13856..e9008d5 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -21,16 +21,6 @@ jobs: - name: Check targets are installed correctly run: rustup target list --installed - - uses: actions/cache@v3 - with: - path: | - ~/.cargo/registry - ~/.cargo/git - target/ - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - restore-keys: | - ${{ runner.os }}-cargo- - - name: Check all features compilation run: cargo check --verbose @@ -52,16 +42,6 @@ jobs: - name: Check targets are installed correctly run: rustup target list --installed - - uses: actions/cache@v3 - with: - path: | - ~/.cargo/registry - ~/.cargo/git - target/ - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - restore-keys: | - ${{ runner.os }}-cargo- - - name: Build optimized binary run: cargo build --release --verbose @@ -85,16 +65,6 @@ jobs: - name: Check targets are installed correctly run: rustup target list --installed - - uses: actions/cache@v3 - with: - path: | - ~/.cargo/registry - ~/.cargo/git - target/ - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - restore-keys: | - ${{ runner.os }}-cargo- - - name: Build optimized binary run: cargo build --release --verbose @@ -139,7 +109,7 @@ jobs: - name: Download pre-built collator binary uses: actions/download-artifact@v3 with: - name: swanky-node-macOS-${{ matrix.os }}-latest-x86_64 + name: swanky-node-${{ matrix.os }}-latest-x86_64 path: ${{ matrix.os }}-bin - name: Make binary executable and tar gzip diff --git a/.github/workflows/static-analysis.yaml b/.github/workflows/static-analysis.yaml index de3ab90..3a932ed 100644 --- a/.github/workflows/static-analysis.yaml +++ b/.github/workflows/static-analysis.yaml @@ -40,16 +40,6 @@ jobs: - name: Check targets are installed correctly run: rustup target list --installed - - uses: actions/cache@v3 - with: - path: | - ~/.cargo/registry - ~/.cargo/git - target/ - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - restore-keys: | - ${{ runner.os }}-cargo- - - uses: actions-rs/clippy-check@v1 with: token: ${{ secrets.GITHUB_TOKEN }}