audit-check
audit-check copied to clipboard
Added support for `working-directory`
Added support for a working-directory input. See https://github.com/rustsec/audit-check/issues/14
Changes
- Added
working-directoryinput- Defaults to
.when not passed. (assume current directory. Maintains backwards comparability) - ~~Updated the
cargo generate-lockfilecommand to use--manifest-pathflag~~- (was removed in https://github.com/rustsec/audit-check/pull/20)
- Update
cargo auditcommand to use the--fileflag
- Defaults to
- (chore) Bumped the
actions/checkoutin README examples to v4
Testing
Below the the output for a test run on a empty lib with serde added as a dependency with working-directory: bar
jobs:
cargo-audit:
runs-on: ubuntu-latest
permissions: write-all
steps:
- uses: actions/checkout@v4
- uses: ranger-ross/audit-check@working-directory
with:
token: ${{ secrets.GITHUB_TOKEN }}
working-directory: bar