⬆️ chore(deps): update Rust crate tabled to 0.22.0 (#453) #1518
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: Continuous Integration | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| schedule: | |
| - cron: '51 5 * * 1' | |
| jobs: | |
| check: | |
| name: Check | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Install toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - name: Check | |
| uses: dtolnay/rust-toolchain@stable | |
| - run: cargo check --all-targets --locked | |
| test: | |
| name: Test suite | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Install toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - name: Configure Git | |
| run: | | |
| git config --global user.email "test@example.com" | |
| git config --global user.name "Test" | |
| - name: Install cargo-tarpaulin | |
| uses: baptiste0928/cargo-install@v3 | |
| with: | |
| crate: cargo-tarpaulin | |
| - name: Run tests | |
| run: | | |
| cargo test | |
| - name: Get test coverage | |
| run: | | |
| cargo tarpaulin --engine llvm --out xml | |
| - name: Upload coverage reports to Codecov | |
| uses: codecov/codecov-action@v7 | |
| with: | |
| name: code-coverage-report | |
| files: ./cobertura.xml | |
| fail_ci_if_error: true | |
| verbose: true | |
| env: | |
| CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
| clippy: | |
| name: Clippy | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Install toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: clippy | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - name: Check the lints | |
| uses: dtolnay/rust-toolchain@stable | |
| - run: cargo clippy --tests -- -D warnings | |
| rustfmt: | |
| name: Formatting | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Install toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - name: Check the formatting | |
| uses: dtolnay/rust-toolchain@stable | |
| - run: cargo fmt --all -- --check | |
| lychee: | |
| name: Check links | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - name: Check the links (root files) | |
| uses: lycheeverse/lychee-action@v2 | |
| with: | |
| args: -v --max-concurrency 1 --exclude 'git-sumi/commit/' --root-dir "${{ github.workspace }}" *.md | |
| fail: true | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Check the links (website docs) | |
| uses: lycheeverse/lychee-action@v2 | |
| with: | |
| args: -v --max-concurrency 1 --exclude 'git-sumi/commit/' --root-dir "${{ github.workspace }}/website" --fallback-extensions md website/docs/**/*.md | |
| fail: true | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| audit: | |
| name: Audit check | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - name: Run cargo-audit | |
| uses: taiki-e/install-action@cargo-deny | |
| - name: Scan for vulnerabilities | |
| run: cargo deny check advisories |