Skip to content

Commit 5a6d262

Browse files
committedJan 5, 2021
Release builds don't need extensive testing like the library does
1 parent 09f9825 commit 5a6d262

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎.github/workflows/release.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@ jobs:
1414
- uses: actions/checkout@v2
1515

1616
- name: Style (rustfmt)
17-
run: docker run -v cargo-cache:/root/.cargo/registry -v $PWD:/volume --rm -t ghcr.io/polyverse/rust-dev-env/rust-dev-env:latest cargo fmt --all -- --check
17+
run: docker run -v cargo-cache:/root/.cargo/registry -v $PWD:/volume --rm -t ghcr.io/polyverse/rust-dev-env/rust-dev-env:latest cargo fmt -- --check
1818

1919
# Allow this lint: -D clippy::field-reassign-with-default
2020
# Due to this: https://github.com/GREsau/schemars/pull/65
2121
- name: Lint (Clippy)
22-
run: docker run -v cargo-cache:/root/.cargo/registry -v $PWD:/volume --rm -t ghcr.io/polyverse/rust-dev-env/rust-dev-env:latest cargo clippy --workspace --all-targets --all-features -- -D warnings
22+
run: docker run -v cargo-cache:/root/.cargo/registry -v $PWD:/volume --rm -t ghcr.io/polyverse/rust-dev-env/rust-dev-env:latest cargo clippy -- -D warnings
2323

2424
- name: Test
25-
run: docker run -v cargo-cache:/root/.cargo/registry -v $PWD:/volume --rm -t --privileged ghcr.io/polyverse/rust-dev-env/rust-dev-env:latest cargo test --workspace --all-targets --all-features
25+
run: docker run -v cargo-cache:/root/.cargo/registry -v $PWD:/volume --rm -t --privileged ghcr.io/polyverse/rust-dev-env/rust-dev-env:latest cargo test
2626

2727
- name: Build Release executable
28-
run: docker run -v cargo-cache:/root/.cargo/registry -v $PWD:/volume --rm -t polyverse/rust-dev-env cargo build --release --all --features="async"
28+
run: docker run -v cargo-cache:/root/.cargo/registry -v $PWD:/volume --rm -t polyverse/rust-dev-env cargo build --release
2929

3030
- name: Create Release
3131
id: create_release

0 commit comments

Comments
 (0)
Please sign in to comment.