Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
[alias]
openapi = "run --package openapi --"

[net]
git-fetch-with-cli = true
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sush.json linguist-generated
31 changes: 31 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Test
on: [push]
jobs:
Test:
runs-on: ubuntu-22.04-8core
steps:
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.91
components: clippy,rustfmt

- name: Configure Git
run: |
git config --global init.defaultBranch main &&
git config --global url."https://${{ secrets.GIT_CREDENTIALS }}@github.com".insteadOf https://github.com

- name: Checkout
uses: actions/checkout@v6

- name: Lint
run: |
cargo fmt -- --check &&
cargo clippy -- --no-deps --deny warnings &&
cargo clippy --tests -- --no-deps --deny warnings

- name: Build
run: cargo build --locked

- name: Test
run: cargo test && cargo test -- --ignored
2 changes: 2 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ ed25519-dalek = { version = "2", features = ["rand_core"] }
libc = "0.2"
p256 = { version = "0.13", features = ["ecdsa"] }
pem-rfc7468 = { version = "0.7", features = ["std"] }
permission-slip-client = { path = "../permission-slip/client" }
permission-slip-common = { path = "../permission-slip/common" }
permission-slip-client = { git = "https://github.com/oxidecomputer/permission-slip" }
permission-slip-common = { git = "https://github.com/oxidecomputer/permission-slip" }
progenitor = "0.11"
rand_core = "0.6"
reqwest = "0.12"
Expand Down