mirror of
https://github.com/Cuprate/cuprate.git
synced 2025-03-12 09:29:11 +00:00
add workflow
This commit is contained in:
parent
c837f2f48e
commit
1b255f4fa5
1 changed files with 31 additions and 0 deletions
31
.github/workflows/hack.yml
vendored
Normal file
31
.github/workflows/hack.yml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
|||
name: Hack
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
hack:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Cache
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
~/.cargo
|
||||
target
|
||||
key: ${{ matrix.os }}-hack
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: Install dependencies
|
||||
run: cargo install cargo-hack --locked
|
||||
- name: Deny
|
||||
run: cargo deny check
|
Loading…
Reference in a new issue