forked from CaddyGlow/tunmux
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (27 loc) · 659 Bytes
/
Copy pathci.yml
File metadata and controls
37 lines (27 loc) · 659 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: CI
on:
push:
pull_request:
jobs:
checks:
name: Run CI checks
runs-on: macos-14
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Rust cache
uses: Swatinem/rust-cache@v2
- name: Run repository CI script
run: bash ./scripts/ci.sh
audit:
name: Security audit
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Install cargo-audit
run: cargo install cargo-audit --locked
- name: Run cargo audit
run: cargo audit