Skip to content

Commit 91dc693

Browse files
committed
don't care about warnings, dont know what profiles are but we dont need it
1 parent e708bf4 commit 91dc693

File tree

1 file changed

+3
-39
lines changed

1 file changed

+3
-39
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -9,30 +9,10 @@ on:
99
workflow_dispatch:
1010

1111
env:
12-
BUILD_PROFILE: release-lto
1312
CARGO_TARGET_DIR: target
1413
CARGO_INCREMENTAL: 0
1514

1615
jobs:
17-
check:
18-
name: Check
19-
runs-on: ubuntu-latest
20-
env:
21-
RUSTFLAGS: -D warnings
22-
steps:
23-
- name: Checkout
24-
uses: actions/checkout@v4
25-
- name: Setup Rust toolchain
26-
uses: dtolnay/rust-toolchain@stable
27-
with:
28-
components: clippy
29-
- name: Cache Rust workspace
30-
uses: Swatinem/rust-cache@v2
31-
- name: Cargo check
32-
run: cargo check --all-features --all-targets
33-
- name: Cargo clippy
34-
run: cargo clippy --all-features --all-targets
35-
3616
fmt:
3717
name: Format
3818
runs-on: ubuntu-latest
@@ -49,22 +29,6 @@ jobs:
4929
- name: Cargo fmt
5030
run: cargo fmt --all --check
5131

52-
deny:
53-
name: Deny
54-
runs-on: ubuntu-latest
55-
strategy:
56-
matrix:
57-
checks:
58-
- advisories
59-
- bans licenses sources
60-
# Prevent new advisories from failing CI
61-
continue-on-error: ${{ matrix.checks == 'advisories' }}
62-
steps:
63-
- uses: actions/checkout@v4
64-
- uses: EmbarkStudios/cargo-deny-action@v2
65-
with:
66-
command: check ${{ matrix.checks }}
67-
6832
test:
6933
name: Test
7034
strategy:
@@ -148,15 +112,15 @@ jobs:
148112
key: ${{ matrix.target }}
149113
- name: Cargo build
150114
run: >
151-
cargo ${{ matrix.build }} --profile ${{ env.BUILD_PROFILE }} --target ${{ matrix.target }}
115+
cargo ${{ matrix.build }} --target ${{ matrix.target }}
152116
--bin ${{ env.CARGO_BIN_NAME }}
153117
- name: Upload artifacts
154118
uses: actions/upload-artifact@v4
155119
with:
156120
name: ${{ env.CARGO_BIN_NAME }}-${{ matrix.name }}
157121
path: |
158-
${{ env.CARGO_TARGET_DIR }}/${{ matrix.target }}/${{ env.BUILD_PROFILE }}/${{ env.CARGO_BIN_NAME }}
159-
${{ env.CARGO_TARGET_DIR }}/${{ matrix.target }}/${{ env.BUILD_PROFILE }}/${{ env.CARGO_BIN_NAME }}.exe
122+
${{ env.CARGO_TARGET_DIR }}/${{ matrix.target }}/${{ env.CARGO_BIN_NAME }}
123+
${{ env.CARGO_TARGET_DIR }}/${{ matrix.target }}/${{ env.CARGO_BIN_NAME }}.exe
160124
if-no-files-found: error
161125

162126
release:

0 commit comments

Comments
 (0)