Skip to content

Commit

Permalink
Add github action to audit dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniusnaumann committed Dec 10, 2023
1 parent a520d34 commit f19ca77
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Dependencies

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
schedule:
- cron: "12 16 * * 5"

env:
CARGO_TERM_COLOR: always

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Cargo Outdated
run: cargo outdated --exit-code 1
- name: Cargo Audit
run: cargo audit -D warnings
2 changes: 1 addition & 1 deletion .github/workflows/end-to-end.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
tests:
strategy:
matrix:
os: [macos-latest, macos-11, macos-12]
os: [macos-latest, macos-11, macos-12, macos-13]
test: [init, package]
runs-on: ${{ matrix.os }}
steps:
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
[![Examples](https://github.com/antoniusnaumann/cargo-swift/actions/workflows/examples.yml/badge.svg)](https://github.com/antoniusnaumann/cargo-swift/actions/workflows/examples.yml)
[![E2E Tests](https://github.com/antoniusnaumann/cargo-swift/actions/workflows/end-to-end.yml/badge.svg)](https://github.com/antoniusnaumann/cargo-swift/actions/workflows/end-to-end.yml)
[![Clippy](https://github.com/antoniusnaumann/cargo-swift/actions/workflows/clippy.yml/badge.svg)](https://github.com/antoniusnaumann/cargo-swift/actions/workflows/clippy.yml)
[![Dependencies](https://github.com/antoniusnaumann/cargo-swift/actions/workflows/audit.yml/badge.svg)](https://github.com/antoniusnaumann/cargo-swift/actions/workflows/audit.yml)


> A cargo plugin to easily build Swift packages from Rust code
Expand Down

0 comments on commit f19ca77

Please sign in to comment.