Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Congyuwang/cdlist
Browse files Browse the repository at this point in the history
  • Loading branch information
Congyuwang committed Dec 29, 2023
2 parents 50b1aab + 84b30f1 commit b205b5e
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Tests

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

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: rust-toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
profile: minimal
components: rustfmt, clippy
- name: Format check
run: cargo fmt --check
- name: Clippy
run: cargo clippy -- -D warnings
- name: Build
run: cargo build --verbose --release
- name: Run tests
run: cargo test --release

0 comments on commit b205b5e

Please sign in to comment.