Skip to content

Commit

Permalink
Deny warnings in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesAC committed Nov 29, 2023
1 parent b3790fc commit 19624bb
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
name: Rust
name: Build and Test

on:
push:
branches: [ "main" ]
branches: ["main"]
pull_request:
branches: [ "main" ]
branches: ["main"]

env:
CARGO_TERM_COLOR: always
RUSTFLAGS: -D warnings

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose

0 comments on commit 19624bb

Please sign in to comment.