allow manually specifying a DefaultSource instead of it only being used when provided an empty list of sources #196
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: CI | |
on: | |
push: | |
branches: [main] | |
merge_group: | |
types: [checks_requested] | |
pull_request: | |
branches: [main] | |
permissions: | |
contents: read | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
toolchain: | |
- { name: msrv, version: '1.67' } | |
- { name: stable, version: stable } | |
name: Test / ${{ matrix.toolchain.name }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Rust (${{ matrix.toolchain.name }}) | |
uses: actions-rust-lang/setup-rust-toolchain@v1.5.0 | |
with: | |
toolchain: ${{ matrix.toolchain.version }} | |
- name: Test | |
run: | | |
cargo test --package=confik-macros | |
cargo test --package=confik --no-default-features | |
cargo test --package=confik --no-default-features --all-features |