build(deps): bump tj-actions/changed-files from 44.4.0 to 45.0.4 #194
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: fuzzers | |
on: | |
# Only run on PRs that touch fuzzed crates | |
pull_request: | |
paths: | |
- 'linkerd/addr/**' | |
- 'linkerd/app/inbound/**' | |
- 'linkerd/dns/**' | |
- 'linkerd/proxy/http/**' | |
- 'linkerd/tls/**' | |
- 'linkerd/transport-header/**' | |
- .github/workflows/fuzzers.yml | |
- .github/fuzzers-list.sh | |
env: | |
CARGO_INCREMENTAL: 0 | |
CARGO_NET_RETRY: 10 | |
RUST_BACKTRACE: short | |
RUSTFLAGS: "-D warnings -A deprecated -C debuginfo=0" | |
RUSTUP_MAX_RETRIES: 10 | |
permissions: | |
contents: read | |
jobs: | |
list-changed: | |
timeout-minutes: 3 | |
runs-on: ubuntu-latest | |
container: docker://rust:1.76.0 | |
steps: | |
- run: apt update && apt install -y jo | |
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b | |
- run: git config --global --add safe.directory "$PWD" # actions/runner#2033 | |
- uses: tj-actions/changed-files@4edd678ac3f81e2dc578756871e4d00c19191daf | |
id: changed-files | |
- name: list changed crates | |
id: list-changed | |
shell: bash | |
run: | | |
dirs=$(.github/fuzzers-list.sh ${{ steps.changed-files.outputs.all_changed_files }} | jo -a) | |
echo "dirs=$dirs" >> "$GITHUB_OUTPUT" | |
outputs: | |
dirs: ${{ steps.list-changed.outputs.dirs }} | |
# Build fuzzers for any changed crates. | |
build: | |
needs: [list-changed] | |
timeout-minutes: 40 | |
runs-on: ubuntu-latest | |
container: docker://rust:1.76.0 | |
strategy: | |
matrix: | |
dir: ${{ fromJson(needs.list-changed.outputs.dirs) }} | |
steps: | |
- run: rustup toolchain add nightly | |
- run: cargo install cargo-fuzz | |
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b | |
- run: git config --global --add safe.directory "$PWD" # actions/runner#2033 | |
- working-directory: ${{matrix.dir}} | |
run: cargo +nightly fetch | |
- working-directory: ${{matrix.dir}} | |
run: cargo +nightly fuzz build |