Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shunsukew committed Jul 19, 2022
1 parent 75e1d58 commit 9a71019
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 61 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/checks-and-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
32 changes: 1 addition & 31 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand All @@ -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

Expand Down Expand Up @@ -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
Expand Down
10 changes: 0 additions & 10 deletions .github/workflows/static-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 9a71019

Please sign in to comment.