1818 - ' **.md'
1919 - ' **.txt'
2020 workflow_dispatch :
21- schedule : [cron: "0 1 */7 * *"]
21+ schedule :
22+ - cron : " 0 1 1 * *"
2223
2324env :
2425 CARGO_TERM_COLOR : always
5556 - name : Install cargo-hack
5657 run : cargo install cargo-hack
5758 - name : Apply clippy lints
58- run : cargo hack clippy --each-feature --exclude-no-default-features
59+ run : cargo hack clippy --each-feature
5960
6061 # Run tests on some extra platforms
6162 cross :
@@ -125,7 +126,7 @@ jobs:
125126 - name : Install cargo-hack
126127 run : cargo install cargo-hack
127128 - name : Run build
128- run : cargo hack build --feature-powerset --exclude-no-default-features
129+ run : cargo hack build --each-feature
129130
130131 test :
131132 name : test
@@ -154,7 +155,7 @@ jobs:
154155 - name : Install cargo-hack
155156 run : cargo install cargo-hack
156157 - name : Run test
157- run : cargo hack test --feature-powerset --exclude-no-default-features --exclude-features loom
158+ run : cargo hack test --each-feature
158159
159160 sanitizer :
160161 name : sanitizer
@@ -250,61 +251,6 @@ jobs:
250251 run : |
251252 bash ci/miri_sb.sh "${{ matrix.target }}"
252253
253- loom :
254- name : loom
255- strategy :
256- matrix :
257- os :
258- - ubuntu-latest
259- - macos-latest
260- - windows-latest
261- runs-on : ${{ matrix.os }}
262- steps :
263- - uses : actions/checkout@v6
264- - name : Cache cargo build and registry
265- uses : actions/cache@v5
266- with :
267- path : |
268- ~/.cargo/registry
269- ~/.cargo/git
270- target
271- key : ${{ runner.os }}-loom-${{ hashFiles('**/Cargo.lock') }}
272- restore-keys : |
273- ${{ runner.os }}-loom-
274- - name : Install Rust
275- run : rustup update nightly --no-self-update && rustup default nightly
276- - name : Loom tests
277- run : cargo test --tests --features loom
278-
279- # valgrind:
280- # name: valgrind
281- # runs-on: ubuntu-latest
282- # steps:
283- # - uses: actions/checkout@v6
284- # - name: Cache cargo build and registry
285- # uses: actions/cache@v5
286- # with:
287- # path: |
288- # ~/.cargo/registry
289- # ~/.cargo/git
290- # target
291- # key: ubuntu-latest-valgrind-${{ hashFiles('**/Cargo.lock') }}
292- # restore-keys: |
293- # ubuntu-latest-valgrind-
294- # - name: Install Rust
295- # run: rustup update stable && rustup default stable
296- # - name: Install Valgrind
297- # run: |
298- # sudo apt-get update -y
299- # sudo apt-get install -y valgrind
300- # # Uncomment and customize when you have binaries to test:
301- # # - name: cargo build foo
302- # # run: cargo build --bin foo
303- # # working-directory: integration
304- # # - name: Run valgrind foo
305- # # run: valgrind --error-exitcode=1 --leak-check=full --show-leak-kinds=all ./target/debug/foo
306- # # working-directory: integration
307-
308254 coverage :
309255 name : coverage
310256 runs-on : ubuntu-latest
@@ -315,7 +261,6 @@ jobs:
315261 - cross
316262 - test
317263 - sanitizer
318- - loom
319264 steps :
320265 - uses : actions/checkout@v6
321266 - name : Install Rust
0 commit comments