mirror of
https://github.com/Hopiu/lychee.git
synced 2026-04-17 20:00:58 +00:00
Merge pull request #9 from xiaochuanyu/type-length-limit
Use action-rs Actions instead
This commit is contained in:
commit
e2bbcd8b20
1 changed files with 9 additions and 10 deletions
19
.github/workflows/rust.yml
vendored
19
.github/workflows/rust.yml
vendored
|
|
@ -1,5 +1,3 @@
|
|||
name: Rust
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
|
|
@ -10,13 +8,14 @@ env:
|
|||
CARGO_TERM_COLOR: always
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
build_and_test:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Build
|
||||
run: cargo build --verbose
|
||||
- name: Run tests
|
||||
run: cargo test --verbose
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: build
|
||||
args: --release --all-features
|
||||
|
|
|
|||
Loading…
Reference in a new issue