Merge pull request #9 from xiaochuanyu/type-length-limit

Use action-rs Actions instead
This commit is contained in:
Matthias 2020-10-15 01:55:48 +02:00 committed by GitHub
commit e2bbcd8b20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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