Jan Klattenhoff
29b0b133fe
All checks were successful
Cargo Build & Test / Test publish (pull_request) Successful in 7s
26 lines
590 B
YAML
26 lines
590 B
YAML
name: Cargo Build & Test
|
|
|
|
on:
|
|
pull_request:
|
|
|
|
jobs:
|
|
can-publish:
|
|
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 publish -n
|
|
|
|
|