Skip to content

Commit dcc7c16

Browse files
committed
Fail on lint warnings, fix outstanding warning
Signed-off-by: Wiktor Kwapisiewicz <wiktor@metacode.biz>
1 parent 07d1481 commit dcc7c16

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ jobs:
7171
SOFTHSM2_CONF: /tmp/softhsm2.conf
7272
TARGET: ${{ matrix.target }}
7373
RUST_BACKTRACE: 1
74+
RUSTFLAGS: "-D warnings"
7475
run: ./ci.sh
7576

7677
build-windows:
@@ -97,7 +98,6 @@ jobs:
9798
RUST_BACKTRACE=1 cargo build --all-features &&
9899
RUST_BACKTRACE=1 cargo test
99100
100-
101101
build-msrv:
102102
name: MSRV - Execute CI script
103103
runs-on: ubuntu-latest
@@ -114,10 +114,10 @@ jobs:
114114
name: Check links
115115
runs-on: ubuntu-latest
116116
steps:
117-
- uses: actions/checkout@v4
118-
- name: Link Checker
119-
uses: peter-evans/link-checker@v1
120-
with:
121-
args: -v -r *.md
122-
- name: Fail if there were link errors
123-
run: exit ${{ steps.lc.outputs.exit_code }}
117+
- uses: actions/checkout@v4
118+
- name: Link Checker
119+
uses: peter-evans/link-checker@v1
120+
with:
121+
args: -v -r *.md
122+
- name: Fail if there were link errors
123+
run: exit ${{ steps.lc.outputs.exit_code }}

0 commit comments

Comments
 (0)