Skip to content

Bump crate-ci/typos from 1.35.7 to 1.36.2 #220

Bump crate-ci/typos from 1.35.7 to 1.36.2

Bump crate-ci/typos from 1.35.7 to 1.36.2 #220

Workflow file for this run

name: Test
concurrency:
group: test-${{ github.head_ref }}
cancel-in-progress: true
on:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: cachix/install-nix-action@v31
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Test no default features
run: |
nix develop .#ci -c cargo run --no-default-features --example instance
nix develop .#ci -c cargo run --no-default-features --example filler
nix develop .#ci -c cargo run --no-default-features --example diff
nix develop .#ci -c cargo run --no-default-features --example json
nix develop .#ci -c cargo run --no-default-features --example rename-patch-struct
nix develop .#ci -c cargo run --no-default-features --example patch-attr
nix develop .#ci -c cargo run --no-default-features --example time
nix develop .#ci -c cargo run --no-default-features --features=nesting --example nesting
nix develop .#ci -c cargo test --no-default-features
- name: Test with std features
run: |
nix develop .#ci -c cargo run --features=std --example instance
nix develop .#ci -c cargo run --features=std --example filler
nix develop .#ci -c cargo run --features=std --example filler-op
nix develop .#ci -c cargo run --features=std --example diff
nix develop .#ci -c cargo run --features=std --example json
nix develop .#ci -c cargo run --features=std --example rename-patch-struct
nix develop .#ci -c cargo run --features=std --example patch-attr
nix develop .#ci -c cargo run --features=std --example option
nix develop .#ci -c cargo run --features=std,nesting --example nesting
nix develop .#ci -c cargo test --features=std
- name: Test with merge features
run: |
nix develop .#ci -c cargo run --features=option --features=merge --example option
nix develop .#ci -c cargo run --features=merge --example op
nix develop .#ci -c cargo run --features=merge,nesting --example nesting
nix develop .#ci -c cargo test --features=merge --no-default-features
nix develop .#ci -c cargo test --features=merge
- name: Test with option features
run: |
nix develop .#ci -c cargo run --features=none_as_default --example option
nix develop .#ci -c cargo run --features=none_as_default,nesting --example nesting
nix develop .#ci -c cargo run --features=keep_none --example option
nix develop .#ci -c cargo run --features=keep_none,nesting --example nesting
- name: Test with default features
run: |
nix develop .#ci -c cargo run --example status
nix develop .#ci -c cargo run --example op
nix develop .#ci -c cargo run --features=nesting --example nesting
nix develop .#ci -c cargo test