mirror of
https://github.com/actions-rust-lang/audit.git
synced 2025-12-28 05:31:49 -05:00
Compare commits
16 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
65677fab72 | ||
|
|
8de7e6de94 | ||
|
|
a1194263c1 | ||
|
|
88907a355a | ||
|
|
568294585d | ||
|
|
ec48ef0b45 | ||
|
|
b8f4057e9c | ||
|
|
92881e10cb | ||
|
|
ece2fac1af | ||
|
|
16d3c44a77 | ||
|
|
3164ded2e4 | ||
|
|
34b262c4ff | ||
|
|
585ac71b19 | ||
|
|
ef659d2397 | ||
|
|
919e90c805 | ||
|
|
a7fc2f648c |
@@ -4,7 +4,7 @@ repos:
|
||||
hooks:
|
||||
- id: black
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.3.0
|
||||
rev: v4.4.0
|
||||
hooks:
|
||||
- id: check-ast
|
||||
- id: check-case-conflict
|
||||
@@ -20,12 +20,12 @@ repos:
|
||||
- id: isort
|
||||
args: ["--profile=black"]
|
||||
- repo: https://github.com/asottile/pyupgrade
|
||||
rev: v3.0.0
|
||||
rev: v3.3.0
|
||||
hooks:
|
||||
- id: pyupgrade
|
||||
args: ["--py37-plus"]
|
||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||
rev: v0.982
|
||||
rev: v0.991
|
||||
hooks:
|
||||
- id: mypy
|
||||
additional_dependencies:
|
||||
|
||||
10
CHANGELOG.md
10
CHANGELOG.md
@@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [1.1.3] - 2022-12-05
|
||||
|
||||
* Fix the path to the cargo installation directory to fix caching.
|
||||
|
||||
## [1.1.2] - 2022-11-09
|
||||
|
||||
### Changed
|
||||
|
||||
* Update `cargo-audit` to 0.17.4 which fixes checking for yanked crates.
|
||||
|
||||
## [1.1.1] - 2022-10-13
|
||||
|
||||
### Changed
|
||||
|
||||
14
action.yml
14
action.yml
@@ -26,19 +26,23 @@ inputs:
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
- name: Identify cargo installation directory
|
||||
run: echo "cargohome=${CARGO_HOME:-$HOME/.cargo}" >> $GITHUB_OUTPUT
|
||||
shell: bash
|
||||
id: cargo-home
|
||||
- uses: actions/cache@v3
|
||||
id: cache
|
||||
with:
|
||||
path: |
|
||||
${{ env.CARGO_HOME }}/.cargo/bin/cargo-audit*
|
||||
${{ env.CARGO_HOME }}/.cargo/.crates.toml
|
||||
${{ env.CARGO_HOME }}/.cargo/.crates2.json
|
||||
key: cargo-audit-v0.17.0
|
||||
${{ steps.cargo-home.outputs.cargohome }}/bin/cargo-audit*
|
||||
${{ steps.cargo-home.outputs.cargohome }}/.crates.toml
|
||||
${{ steps.cargo-home.outputs.cargohome }}/.crates2.json
|
||||
key: cargo-audit-v0.17.4
|
||||
|
||||
- name: Install cargo-audit
|
||||
if: steps.cache.outputs.cache-hit != 'true'
|
||||
# Update both this version number and the cache key
|
||||
run: cargo install cargo-audit --vers 0.17.0
|
||||
run: cargo install cargo-audit --vers 0.17.4 --no-default-features
|
||||
shell: bash
|
||||
|
||||
- run: |
|
||||
|
||||
Reference in New Issue
Block a user