Clean build.yml
This commit is contained in:
parent
97432ef524
commit
08b932606a
|
@ -1,4 +1,4 @@
|
|||
name: Build and check
|
||||
name: Check build, run tests & check formatting
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
|
@ -12,8 +12,6 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: true
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: |
|
||||
|
@ -21,11 +19,11 @@ jobs:
|
|||
~/.cargo/git
|
||||
target
|
||||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||
- name: Generate key pair
|
||||
- name: Prepare
|
||||
run: |
|
||||
openssl genpkey -algorithm x25519 -out x25519_private_key.pem
|
||||
openssl pkey -in x25519_private_key.pem -pubout -out x25519_public_key.pem
|
||||
- name: Build
|
||||
- name: Check build
|
||||
run: cargo check --verbose --release
|
||||
- name: Run tests
|
||||
run: cargo test --verbose
|
||||
|
|
Loading…
Reference in New Issue