Skip to content

Commit

Permalink
update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
yrp604 committed Nov 30, 2023
1 parent cc8cbb3 commit 219843c
Showing 1 changed file with 7 additions and 25 deletions.
32 changes: 7 additions & 25 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,14 @@
name: Rust

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
name: test
on: [push, pull_request]

env:
CARGO_TERM_COLOR: always

jobs:
check:
name: bad64
test:
name: cargo test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install latest stable
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- name: Build
uses: actions-rs/cargo@v1
with:
command: build
args: --verbose
- name: Test
uses: actions-rs/cargo@v1
with:
command: test
args: --verbose
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: cargo test --verbose

0 comments on commit 219843c

Please sign in to comment.