Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
109 commits
Select commit Hold shift + click to select a range
7c5383d
dirname: add fuzzer to test GNU compatibility
sylvestre Jan 17, 2026
4712557
fuzzing: fix should_pass evaluation in CI workflow
sylvestre Jan 17, 2026
53d3176
Reduce duplicated management of supported utils
oech3 Jan 21, 2026
97c3d7e
chore(deps): update rust crate divan to v4.3.0
renovate[bot] Jan 21, 2026
401eb89
fix(ci): remove outdated `analysis` mode
not-matthias Jan 21, 2026
69f9dc2
Merge pull request #10413 from uutils/renovate/divan-4.x-lockfile
cakebaker Jan 21, 2026
376d5b2
uucore: centralize SIGPIPE handling in main macro (#10354)
ChrisDryden Jan 21, 2026
786a33d
Merge pull request #10404 from xtqqczze/cargo-shear
xtqqczze Jan 21, 2026
1a64417
fix: numeric sort (-n) does not recognize thousand separators (#10339)
Kaua-Klassmann Jan 21, 2026
fa58060
chore(deps): update rust crate proc-macro2 to v1.0.106
renovate[bot] Jan 21, 2026
1997c5c
fix: allow selinux on android
xtqqczze Jan 21, 2026
0e7e502
Merge pull request #10420 from uutils/renovate/proc-macro2-1.x-lockfile
cakebaker Jan 22, 2026
7598f8e
Merge pull request #10424 from oech3/patch-12
oech3 Jan 22, 2026
fd9390c
openbsf.yml: Try to reduce time (#10423)
oech3 Jan 22, 2026
d6df52f
Merge pull request #10419 from xtqqczze/linux-android
cakebaker Jan 22, 2026
805390d
freebsd.yml: Drop useless cache actions (#10362)
oech3 Jan 22, 2026
1fbd765
Merge pull request #10409 from oech3/sed
sylvestre Jan 22, 2026
aa218a3
Merge pull request #10414 from AvalancheHQ/cod-2066-analysis-mode-mis…
sylvestre Jan 22, 2026
75b9ad4
date: handle parentheses as comments like GNU date (#10133)
sylvestre Jan 22, 2026
0878925
chore: add test for setgid bit inheritance in mkdir -p (#10412)
0xferrous Jan 22, 2026
2de0a5b
tail: fix test suspension by redirecting stdin to null (#10431)
sylvestre Jan 22, 2026
df04d02
fix: clippy unnecessary unwrap
aaron-ang Jan 22, 2026
d2bd2d3
Merge pull request #10435 from aaron-ang/clippy-hotfix
cakebaker Jan 22, 2026
26bb259
test-mv: Use temporary directory in /dev/shm
3v1n0 Jan 22, 2026
6ca2cb4
df/table: Sum scaled values to compute the totals
3v1n0 Jan 22, 2026
9e1ab7b
df/table: Only compute total row if the user requested for it
3v1n0 Jan 22, 2026
a00c12c
fix(deps): remove duplicate itertools package
xtqqczze Jan 22, 2026
6db319e
fold:fix gnu test fold-zero-width.sh (#9274)
mattsu2020 Jan 22, 2026
61b1d45
Merge pull request #10440 from xtqqczze/deps/itertools
cakebaker Jan 23, 2026
d072f2e
Merge pull request #10439 from 3v1n0/tmpdir-for-mv-test
cakebaker Jan 23, 2026
28b52bb
Merge pull request #10438 from 3v1n0/df-sum-scaling-fix
cakebaker Jan 23, 2026
f19b9f0
fix(deps): refactor nix package configuration
xtqqczze Jan 22, 2026
f7d8cee
chore(deps): update rust crate quote to v1.0.44
renovate[bot] Jan 23, 2026
a1d7798
Merge pull request #10441 from xtqqczze/deps/nix
cakebaker Jan 23, 2026
a877f6b
Merge pull request #10446 from uutils/renovate/quote-1.x-lockfile
cakebaker Jan 23, 2026
bd7e523
fix(deps): refactor xattr package configuration
xtqqczze Jan 23, 2026
e9918df
Merge pull request #10454 from xtqqczze/deps/xattr
cakebaker Jan 24, 2026
710fc1b
fix(deps): refactor rlimit package configuration
xtqqczze Jan 24, 2026
9d94d7e
Merge pull request #10464 from xtqqczze/deps/rlimit
cakebaker Jan 24, 2026
03c566e
chore(deps): update rust crate signal-hook to v0.4.2
renovate[bot] Jan 24, 2026
a08a79d
Merge pull request #10468 from uutils/renovate/signal-hook-0.x-lockfile
cakebaker Jan 24, 2026
ddd0379
rm: fix for -rf ./ and variants silently delete current directoryFix/…
jacek-kurlit Jan 24, 2026
1ce8990
ci/android: use --locked when installing nextest (#10467)
cakebaker Jan 24, 2026
938039e
fuzz: add cargo clippy check for fuzz directory (#10466)
xtqqczze Jan 24, 2026
debb0a9
chore(deps): update rust crate signal-hook to v0.4.3
renovate[bot] Jan 24, 2026
1034c3b
fuzz_parse_size doesn't pass all the time
sylvestre Jan 24, 2026
fcca316
fuzz_parse_time might not pass
sylvestre Jan 24, 2026
676363a
expand: address a cognitive_complexity warnings
sylvestre Dec 30, 2025
80a6c67
pr: remove unused lines_printed variable
jfinkels Jan 22, 2026
1f50a04
shuf: Move NonrepeatingIterator to own module
blyxxyz Mar 20, 2025
7b252b8
shuf: correctness: Flush output after writing
blyxxyz Mar 23, 2025
1076088
shuf: perf: Bump output buffer to 64KB
blyxxyz Mar 23, 2025
6e63312
shuf: correctness: Do not use panics to report --random-source read e…
blyxxyz Mar 24, 2025
3017dda
shuf: perf: Use itoa for integer formatting
blyxxyz Mar 26, 2025
a8fa852
shuf: correctness: Make --random-source compatible with GNU shuf
blyxxyz Mar 25, 2025
55e756f
shuf: feature: Add --random-seed option
blyxxyz Mar 26, 2025
b81a018
shuf: correctness: Use Fisher-Yates for nonrepeating integers
blyxxyz Mar 26, 2025
71b4b99
shuf: Add `--random-seed`, make `--random-source` GNU-compatible, rep…
sylvestre Jan 25, 2026
a06760e
Merge pull request #10472 from uutils/renovate/signal-hook-0.x-lockfile
cakebaker Jan 25, 2026
af89d12
Merge pull request #10474 from jfinkels/pr-remove-lines-printed
cakebaker Jan 25, 2026
61dd826
Merge pull request #10289 from sylvestre/dirname-fuzz
cakebaker Jan 25, 2026
e1259d9
date: add ICU support for day/months names (#10457)
sylvestre Jan 25, 2026
c279ede
Merge pull request #10481 from Paol0B/fix/10314
Paol0B Jan 25, 2026
bf12e9c
CI: Disable incremental build for faster CI (#10462)
oech3 Jan 25, 2026
ed2e9eb
CICD.yml: Merge 2 "separately" (#10425)
oech3 Jan 25, 2026
cbb7f63
stty: Add cfg_aliases (#10443)
oech3 Jan 25, 2026
e061f8e
shuf: Tune performance for -i 1-1000000 (#10478)
oech3 Jan 25, 2026
d2db872
tac: add regex flavor translation for compatibility and new test case…
FidelSch Jan 25, 2026
9f98aec
deps: refactor crossterm package configuration
xtqqczze Jan 26, 2026
bf8503b
README.package.md: Fix MSRV
oech3 Jan 26, 2026
d8142d0
Merge pull request #10485 from oech3/patch-7
cakebaker Jan 26, 2026
25befcd
Merge pull request #10484 from xtqqczze/deps/crossterm
cakebaker Jan 26, 2026
5ccce19
Merge pull request #9930 from sylvestre/expand-cognitive_complexity
cakebaker Jan 26, 2026
5500e1c
test: Trim whitespace in integer comparisons
dezgeg Jan 26, 2026
e96ddc0
Merge pull request #10489 from dezgeg/fix_test_ws
cakebaker Jan 26, 2026
2839f78
Silently handle broken pipe on windows for yes (#10429)
ChrisDryden Jan 26, 2026
6124866
date: add locale-aware calendar support for era years (#10473)
sylvestre Jan 26, 2026
fec6cdf
fuzzing.yml: Reproducible toolchain setup (#10487)
oech3 Jan 26, 2026
67046f5
timeout: add all signal handlers, pass on signals to child, add ignor…
ChrisDryden Jan 26, 2026
1c09c36
ci: show diff for toml_format (#10501)
xtqqczze Jan 27, 2026
4783c50
GnuTests: Drop cache action outside of VM, use preinstalled rust
oech3 Jan 27, 2026
d6c793c
build-gnu.sh: remove workaround for timeout/yes
Ecordonnier Jan 27, 2026
9cc9ca8
CICD: Remove unused rustfmt (#10509)
oech3 Jan 27, 2026
b8de224
Merge pull request #10505 from Ecordonnier/eco/build-gnu-timeout
cakebaker Jan 27, 2026
adf36f9
Merge pull request #10504 from oech3/patch-17
cakebaker Jan 27, 2026
2e7cc47
base64: Improve read error message (#10512)
dezgeg Jan 27, 2026
0733ea6
unexpand: Properly handle I/O errors when reading input
dezgeg Jan 26, 2026
d1f1275
expand: Properly handle I/O errors when reading input
dezgeg Jan 27, 2026
38e9dcc
GNUmakefile: Complete TEST_PROGS
oech3 Jan 26, 2026
4904766
CICD.yml: (partial) reproducible toolchain setup
oech3 Jan 26, 2026
836e0cb
sort: gnu coreutils compatibility (sort.pl) (#9862)
mattsu2020 Jan 27, 2026
e3a2d34
arch: Avoid >/dev/full panic (#10516)
oech3 Jan 27, 2026
4050222
uname: remove unwrap() for > /dev/full (#10517)
oech3 Jan 27, 2026
22cd20a
chore(deps): update rust crate clap to v4.5.55
renovate[bot] Jan 27, 2026
784f800
Merge pull request #10521 from uutils/renovate/clap-4.x-lockfile
cakebaker Jan 28, 2026
4693a8f
logname > /dev/full panics (#10522)
oech3 Jan 28, 2026
9d0ac44
gropus > /dev/full panics (#10523)
oech3 Jan 28, 2026
53700fc
checksum: Rework the OutputFormat decision
RenjiSann Jan 6, 2026
320c80b
introduce checksum_common
RenjiSann Jan 6, 2026
52ef36d
cksum: transition to checksum_common
RenjiSann Jan 6, 2026
a968342
md5sum: introduce standalone binary
RenjiSann Jan 6, 2026
d22c7e1
b2sum: introduce standalone binary
RenjiSann Jan 9, 2026
6aa5b1f
sha1sum: introduce standalone binary
RenjiSann Jan 9, 2026
e5f7201
sha224sum: introduce standalone binary
RenjiSann Jan 9, 2026
928ca15
sha256sum: introduce standalone binary
RenjiSann Jan 9, 2026
417c424
sha384sum: introduce standalone binary
RenjiSann Jan 9, 2026
70c37a7
sha512sum: introduce standalone binary
RenjiSann Jan 9, 2026
46e30f7
Merge pull request #10142 from RenjiSann/peron/checksum-common-cli-po…
RenjiSann Jan 28, 2026
eeca1e1
readlink /etc/mtab > /dev/full panics (#10525)
oech3 Jan 28, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 18 additions & 46 deletions .github/workflows/CICD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,13 @@ jobs:
- uses: actions/checkout@v6
with:
persist-credentials: false
- uses: dtolnay/rust-toolchain@nightly
## note: requires 'nightly' toolchain b/c `cargo-udeps` uses the `rustc` '-Z save-analysis' option
## * ... ref: <https://github.com/est31/cargo-udeps/issues/73>
- uses: taiki-e/install-action@cargo-udeps
- uses: Swatinem/rust-cache@v2
- name: Initialize workflow variables
id: vars
shell: bash
run: |
echo "RUSTC_BOOTSTRAP=1" >> "${GITHUB_ENV}" # Use -Z
## VARs setup
outputs() { step_id="${{ github.action }}"; for var in "$@" ; do echo steps.${step_id}.outputs.${var}="${!var}"; echo "${var}=${!var}" >> $GITHUB_OUTPUT; done; }
# failure mode
Expand All @@ -88,7 +86,7 @@ jobs:
fault_type="${{ steps.vars.outputs.FAULT_TYPE }}"
fault_prefix=$(echo "$fault_type" | tr '[:lower:]' '[:upper:]')
#
cargo +nightly udeps ${{ steps.vars.outputs.CARGO_FEATURES_OPTION }} --all-targets &> udeps.log || cat udeps.log
cargo udeps ${{ steps.vars.outputs.CARGO_FEATURES_OPTION }} --all-targets &> udeps.log || cat udeps.log
grep --ignore-case "all deps seem to have been used" udeps.log || { printf "%s\n" "::${fault_type} ::${fault_prefix}: \`cargo udeps\`: style violation (unused dependency found)" ; fault=true ; }
if [ -n "${{ steps.vars.outputs.FAIL_ON_FAULT }}" ] && [ -n "$fault" ]; then exit 1 ; fi

Expand All @@ -98,6 +96,7 @@ jobs:
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
CARGO_INCREMENTAL: 0
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -163,6 +162,7 @@ jobs:
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
CARGO_INCREMENTAL: 0
strategy:
matrix:
job:
Expand Down Expand Up @@ -269,6 +269,7 @@ jobs:
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
CARGO_INCREMENTAL: 0
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -405,6 +406,7 @@ jobs:
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
CARGO_INCREMENTAL: 0
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -444,6 +446,7 @@ jobs:
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
CARGO_INCREMENTAL: 0
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -484,6 +487,7 @@ jobs:
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
CARGO_INCREMENTAL: 0
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -610,6 +614,7 @@ jobs:
DOCKER_OPTS: '--volume /etc/passwd:/etc/passwd --volume /etc/group:/etc/group'
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
CARGO_INCREMENTAL: 0
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -848,16 +853,8 @@ jobs:
run: |
## Test
${{ steps.vars.outputs.CARGO_CMD }} ${{ steps.vars.outputs.CARGO_CMD_OPTIONS }} test --target=${{ matrix.job.target }} \
${{ steps.vars.outputs.CARGO_TEST_OPTIONS}} ${{ matrix.job.cargo-options }} ${{ steps.vars.outputs.CARGO_FEATURES_OPTION }} ${{ steps.vars.outputs.CARGO_DEFAULT_FEATURES_OPTION }}
env:
RUST_BACKTRACE: "1"
- name: Test individual utilities
if: matrix.job.skip-tests != true
shell: bash
run: |
## Test individual utilities
${{ steps.vars.outputs.CARGO_CMD }} ${{ steps.vars.outputs.CARGO_CMD_OPTIONS }} test --target=${{ matrix.job.target }} \
${{ matrix.job.cargo-options }} ${{ steps.dep_vars.outputs.CARGO_UTILITY_LIST_OPTIONS }}
${{ steps.vars.outputs.CARGO_TEST_OPTIONS}} ${{ matrix.job.cargo-options }} ${{ steps.vars.outputs.CARGO_FEATURES_OPTION }} ${{ steps.vars.outputs.CARGO_DEFAULT_FEATURES_OPTION }} \
${{ steps.dep_vars.outputs.CARGO_UTILITY_LIST_OPTIONS }} -p coreutils
env:
RUST_BACKTRACE: "1"
- name: Archive executable artifacts
Expand Down Expand Up @@ -928,6 +925,7 @@ jobs:
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
CARGO_INCREMENTAL: 0
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -1009,6 +1007,7 @@ jobs:
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
CARGO_INCREMENTAL: 0
strategy:
fail-fast: false
matrix:
Expand All @@ -1029,7 +1028,6 @@ jobs:
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ env.RUST_MIN_SRV }}
components: rustfmt
- uses: Swatinem/rust-cache@v2
- name: Run sccache-cache
uses: mozilla-actions/sccache-action@v0.0.9
Expand Down Expand Up @@ -1102,6 +1100,7 @@ jobs:
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
CARGO_INCREMENTAL: 0
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -1226,7 +1225,7 @@ jobs:
fail_ci_if_error: false

test_separately:
name: Separate Builds
name: Separate Builds (individual and coreutils)# duplicated with other CI, but has better appearance
runs-on: ${{ matrix.job.os }}
strategy:
fail-fast: false
Expand All @@ -1236,48 +1235,21 @@ jobs:
- { os: macos-latest , features: feat_os_macos }
- { os: windows-latest , features: feat_os_windows }
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: build and test all programs individually
shell: bash
run: |
CARGO_FEATURES_OPTION='--features=${{ matrix.job.features }}' ;
for f in $(util/show-utils.sh ${CARGO_FEATURES_OPTION})
do
echo "Building and testing $f"
cargo test -p "uu_$f"
done

test_all_features:
name: Test all features separately
needs: [ min_version, deps ]
runs-on: ${{ matrix.job.os }}
strategy:
fail-fast: false
matrix:
job:
- { os: ubuntu-latest , features: feat_os_unix }
- { os: macos-latest , features: feat_os_macos }
# - { os: windows-latest , features: feat_os_windows } https://github.com/uutils/coreutils/issues/7044
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- name: Avoid no space left on device
run: sudo rm -rf /usr/share/dotnet /usr/local/lib/android &
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: build and test all features individually
- name: build and test all programs individually
shell: bash
run: |
CARGO_FEATURES_OPTION='--features=${{ matrix.job.features }}' ;
for f in $(util/show-utils.sh ${CARGO_FEATURES_OPTION})
do
echo "Running tests with --features=$f and --no-default-features"
cargo test --features=$f --no-default-features
echo "Building and testing $f"
cargo test -p "uu_$f" -p coreutils --features=$f --no-default-features
done

test_selinux:
Expand Down
12 changes: 0 additions & 12 deletions .github/workflows/GnuTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ jobs:
with:
path: 'uutils'
persist-credentials: false
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
with:
workspaces: "./uutils -> target"
Expand Down Expand Up @@ -207,12 +204,6 @@ jobs:
with:
path: 'uutils'
persist-credentials: false
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
with:
workspaces: "./uutils -> target"
- name: Checkout code (GNU coreutils)
run: (mkdir -p gnu && cd gnu && bash ../uutils/util/fetch-gnu.sh)

Expand Down Expand Up @@ -325,9 +316,6 @@ jobs:
with:
path: 'uutils'
persist-credentials: false
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
with:
workspaces: "./uutils -> target"
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,13 @@ jobs:
benchmarks:
name: Run ${{ matrix.type }} benchmarks for ${{ matrix.package }} (CodSpeed)
runs-on: ubuntu-latest
env:
RUSTC_WRAPPER: sccache
CARGO_INCREMENTAL: 0
SCCACHE_GHA_ENABLED: "true"
strategy:
matrix:
type: [performance] # , memory] # memory profile disabled due to variance
type: [simulation] # , memory] # memory profile disabled due to variance
package: [
uu_base64,
uu_cksum,
Expand Down Expand Up @@ -78,18 +82,14 @@ jobs:
shell: bash
run: |
echo "Building ${{ matrix.type }} benchmarks for ${{ matrix.package }}"
if [ "${{ matrix.type }}" = "memory" ]; then
cargo codspeed build -m analysis -p ${{ matrix.package }}
else
cargo codspeed build -p ${{ matrix.package }}
fi
cargo codspeed build -m ${{ matrix.type }} -p ${{ matrix.package }}

- name: Run ${{ matrix.type }} benchmarks for ${{ matrix.package }}
uses: CodSpeedHQ/action@v4
env:
CODSPEED_LOG: debug
with:
mode: ${{ matrix.type == 'memory' && 'memory' || 'simulation' }}
mode: ${{ matrix.type }}
run: |
echo "Running ${{ matrix.type }} benchmarks for ${{ matrix.package }}"
cargo codspeed run -p ${{ matrix.package }} > /dev/null
Expand Down
16 changes: 14 additions & 2 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Code Quality

# spell-checker:ignore (people) reactivecircus Swatinem dtolnay juliangruber pell taplo
# spell-checker:ignore (people) dtolnay juliangruber pell reactivecircus Swatinem taiki-e taplo
# spell-checker:ignore (misc) TERMUX noaudio pkill swiftshader esac sccache pcoreutils shopt subshell dequote libsystemd

on:
Expand Down Expand Up @@ -74,6 +74,7 @@ jobs:
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
CARGO_INCREMENTAL: 0
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -147,6 +148,12 @@ jobs:
CARGO_UTILITY_LIST_OPTIONS="$(for u in ${UTILITY_LIST}; do echo -n "-puu_${u} "; done;)"
S=$(cargo clippy --all-targets $extra --tests --benches -pcoreutils ${CARGO_UTILITY_LIST_OPTIONS} -- -D warnings 2>&1) && printf "%s\n" "$S" || { printf "%s\n" "$S" ; printf "%s" "$S" | sed -E -n -e '/^error:/{' -e "N; s/^error:[[:space:]]+(.*)\\n[[:space:]]+-->[[:space:]]+(.*):([0-9]+):([0-9]+).*$/::${fault_type} file=\2,line=\3,col=\4::${fault_prefix}: \`cargo clippy\`: \1 (file:'\2', line:\3)/p;" -e '}' ; fault=true ; }
if [ -n "${{ steps.vars.outputs.FAIL_ON_FAULT }}" ] && [ -n "$fault" ]; then exit 1 ; fi
- name: "cargo clippy on fuzz dir"
if: runner.os != 'Windows'
shell: bash
run: |
cd fuzz
cargo clippy --workspace --all-targets --all-features -- -D warnings

style_spellcheck:
name: Style/spelling
Expand Down Expand Up @@ -198,8 +205,13 @@ jobs:
with:
persist-credentials: false

- name: Install taplo-cli
uses: taiki-e/install-action@v2
with:
tool: taplo-cli

- name: Check
run: npx --yes @taplo/cli fmt --check
run: taplo fmt --check --diff

python:
name: Style/Python
Expand Down
19 changes: 3 additions & 16 deletions .github/workflows/freebsd.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: FreeBSD

# spell-checker:ignore sshfs usesh vmactions taiki Swatinem esac fdescfs fdesc sccache nextest copyback logind
# spell-checker:ignore sshfs usesh vmactions taiki Swatinem esac fdescfs fdesc nextest copyback logind

env:
# * style job configuration
Expand Down Expand Up @@ -30,18 +30,10 @@ jobs:
matrix:
job:
- { os: ubuntu-24.04 , features: unix }
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- uses: Swatinem/rust-cache@v2
- name: Run sccache-cache
uses: mozilla-actions/sccache-action@v0.0.9
with:
disable_annotations: true
- name: Prepare, build and test
uses: vmactions/freebsd-vm@v1.2.9
with:
Expand Down Expand Up @@ -101,6 +93,7 @@ jobs:
# To ensure that files are cleaned up, we don't want to exit on error
set +e
unset FAULT
export CARGO_INCREMENTAL=0
## cargo fmt testing
echo "## cargo fmt testing"
# * convert any errors/warnings to GHA UI annotations; ref: <https://help.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-a-warning-message>
Expand All @@ -127,19 +120,12 @@ jobs:
- { os: ubuntu-24.04 , features: unix }
env:
mem: 4096
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- name: Avoid no space left on device (Ubuntu runner)
run: sudo rm -rf /usr/share/dotnet /usr/local/lib/android &
- uses: Swatinem/rust-cache@v2
- name: Run sccache-cache
uses: mozilla-actions/sccache-action@v0.0.9
with:
disable_annotations: true
- name: Prepare, build and test
uses: vmactions/freebsd-vm@v1.2.9
with:
Expand Down Expand Up @@ -194,6 +180,7 @@ jobs:
set +e
cd "${WORKSPACE}"
unset FAULT
export CARGO_INCREMENTAL=0
export RUSTFLAGS="-C strip=symbols" # for disk space
cargo build || FAULT=1
export PATH=~/.cargo/bin:${PATH}
Expand Down
Loading