Add pipeline for tests
This commit is contained in:
parent
c76cb8196b
commit
f351ef4d46
@ -4,6 +4,24 @@ on:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
container: git.kjan.de/actions/rust-node
|
||||
name: Test publish
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: ⚡ Cache
|
||||
uses: https://git.kjan.de/actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target/release/deps
|
||||
target/release/build
|
||||
target
|
||||
key: ${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }}-loadstar
|
||||
- run: cargo test
|
||||
|
||||
can-publish:
|
||||
container: git.kjan.de/actions/rust-node
|
||||
name: Test publish
|
||||
|
Loading…
Reference in New Issue
Block a user