Bump time from 0.3.45 to 0.3.47 #93
Workflow file for this run
This file contains hidden or 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: Build & Test | |
| on: | |
| push: | |
| paths: | |
| - "**/Cargo.toml" | |
| - "**/Cargo.lock" | |
| - "src/**" | |
| - "tests/**" | |
| - "examples/**" | |
| - ".github/workflows/rust.yml" | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [macos-latest, windows-latest, ubuntu-latest] | |
| max-parallel: 3 | |
| fail-fast: false | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - uses: actions/cache@v4 | |
| id: cache-cargo-fetch | |
| with: | |
| key: ${{ runner.os }}-cargo-fetch-${{ hashFiles('Cargo.lock') }} | |
| path: target | |
| restore-keys: ${{ runner.os }}-cargo-fetch | |
| - name: Fetch Dependencies | |
| if: steps.cache-cargo-fetch.outputs.cache-hit != 'true' | |
| run: cargo fetch | |
| - name: Build | |
| run: cargo build --all-features | |
| - name: Run tests | |
| run: cargo test | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - run: rustup component add clippy | |
| - uses: clechasseur/rs-clippy-check@v3 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| args: --all-features |