revert: remove ttl information from datagram #896
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: Find mutants | |
on: | |
schedule: | |
- cron: '42 3 * * 2,5' # Runs at 03:42 UTC (m and h chosen arbitrarily) twice a week. | |
workflow_dispatch: | |
pull_request: | |
branches: ["main"] | |
paths-ignore: ["*.md", "*.png", "*.svg", "LICENSE-*"] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref_name }} | |
cancel-in-progress: true | |
permissions: read-all | |
jobs: | |
mutants: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
with: | |
fetch-depth: 0 | |
- name: Install dependencies | |
env: | |
DEBIAN_FRONTEND: noninteractive | |
run: | | |
sudo apt-get install -y --no-install-recommends gyp mercurial ninja-build lld | |
echo "RUSTFLAGS=-C link-arg=-fuse-ld=lld" >> "$GITHUB_ENV" | |
- name: Fetch and build NSS and NSPR | |
uses: ./.github/actions/nss | |
- name: Install Rust | |
uses: ./.github/actions/rust | |
with: | |
version: stable | |
- name: Find incremental mutants | |
if: github.event_name == 'pull_request' | |
run: | | |
git diff origin/${{ github.base_ref }}.. > pr.diff | |
set -o pipefail | |
cargo mutants --test-tool=nextest --no-shuffle -j 2 -vV --in-diff pr.diff | tee results.txt || true | |
echo 'TITLE=Incremental Mutants' >> "$GITHUB_ENV" | |
- name: Find mutants | |
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' | |
run: | | |
set -o pipefail | |
cargo mutants --test-tool=nextest -vV --in-place | tee results.txt || true | |
echo 'TITLE=All Mutants' >> "$GITHUB_ENV" | |
- name: Post step summary | |
if: always() | |
run: | | |
{ | |
echo "### $TITLE" | |
echo "See https://mutants.rs/using-results.html for more information." | |
echo '```' | |
sed 's/\x1b\[[0-9;]*[mGKHF]//g' results.txt | |
echo '```' | |
} > "$GITHUB_STEP_SUMMARY" | |
- name: Archive mutants.out | |
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3 | |
if: always() | |
with: | |
name: mutants.out | |
path: mutants.out |