Skip to content

Commit

Permalink
Merge pull request #71 from telus-agcg/feature/NAUM-104-ditch-actions…
Browse files Browse the repository at this point in the history
…-rs-audit-check

Replace actions-rs GH actions
  • Loading branch information
turboladen authored May 30, 2024
2 parents c021663 + ad22173 commit 140f230
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 15 deletions.
23 changes: 9 additions & 14 deletions .github/workflows/rust-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,15 @@ jobs:
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: cargo test all
uses: actions-rs/cargo@v1
with:
command: test
args: --workspace --all-features
run: cargo test --workspace --all-features

check-ios:
name: Test (x86_64-apple-ios)
runs-on: [self-hosted, macOS, xcode13]
if: ${{ false }} # Disabling till PCC-221
env:
DYLD_ROOT_PATH: "/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app"
DYLD_ROOT_PATH: >
"/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app"
steps:
- uses: actions/checkout@v4
- name: Setup SSH
Expand All @@ -59,14 +57,11 @@ jobs:
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@stable
with:
profile: minimal
toolchain: stable
target: x86_64-apple-ios
override: true
targets: "x86_64-apple-ios"
- name: cargo test
uses: actions-rs/cargo@v1
with:
command: test
args: --package wise_units-ffi --all-features --target x86_64-apple-ios
run: >
cargo test --package wise_units-ffi
--all-features
--target x86_64-apple-ios
2 changes: 1 addition & 1 deletion .github/workflows/security-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ jobs:
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Security audit
uses: actions-rs/audit-check@v1
uses: rustsec/audit-check@v1.4.1
with:
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 140f230

Please sign in to comment.