Skip to content

Commit

Permalink
Move trusted code into dedicated directory
Browse files Browse the repository at this point in the history
In order to support both the untrusted and trusted interfaces to SGX the
trusted code as been moved into a dedicated trusted directory
  • Loading branch information
nick-mobilecoin committed May 20, 2022
1 parent 6b64bf3 commit 853f044
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 13 deletions.
7 changes: 6 additions & 1 deletion .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
version: 2
updates:
- package-ecosystem: cargo
directory: "/"
directory: "/trusted"
schedule:
interval: daily
open-pull-requests-limit: 10
- package-ecosystem: "github-actions"
directory: "/"
schedule:
# Check for updates to GitHub Actions every weekday
interval: "daily"
2 changes: 1 addition & 1 deletion .github/workflows/cargo-audit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
name: Security Audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- name: Cache cargo bin
uses: actions/cache@v1
with:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: panic-abort
name: rust

on:
pull_request:
paths:
- "panic/abort/**"
- "trusted"
- "Cargo.*"

defaults:
run:
working-directory: "panic/abort"
working-directory: "trusted"

env:
CARGO_INCREMENTAL: 0
Expand All @@ -19,12 +19,13 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
- nightly-2021-07-21
- nightly
target:
- x86_64-unknown-linux-gnu
rust:
- nightly-2021-07-21
- nightly
target:
- x86_64-unknown-linux-gnu
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,28 @@ jobs:
rustfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: rustfmt
override: true
profile: minimal
# actions-rs/cargo does not support the `working-directory` argument,
# see https://github.com/actions-rs/cargo/issues/6
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
args: --manifest-path trusted/Cargo.toml --all -- --check
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: clippy
override: true
profile: minimal
- run: cargo clippy --all --all-features -- -D warnings
working-directory: ./trusted
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 853f044

Please sign in to comment.