Update taiki-e/install-action digest to 1ed6d7b (#192) #636
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: CI | |
| on: | |
| push: | |
| branches: [ "develop" ] | |
| pull_request: { } | |
| workflow_dispatch: { } | |
| permissions: | |
| actions: read | |
| contents: read | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 | |
| - uses: ./.github/actions/setup-rust | |
| - name: Rust Build | |
| run: | | |
| cargo build --all-features --all-targets | |
| cargo build --all-targets | |
| - name: Rust Lint - Format | |
| run: cargo fmt --all --check | |
| - name: Rust Lint - Clippy | |
| run: | | |
| cargo clippy --all-features --all-targets | |
| cargo clippy --all-targets | |
| - name: Rust Test | |
| run: | | |
| cargo test --workspace --all-features | |
| cargo test --workspace | |
| msrv: | |
| name: MSRV | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 | |
| - uses: ./.github/actions/setup-rust | |
| - name: Install cargo-msrv | |
| uses: taiki-e/install-action@1ed6d7be6168f6c9046541087ff549b6bc581fdf # v2 | |
| with: | |
| tool: cargo-msrv | |
| - name: Verify MSRV | |
| run: cargo msrv verify | |
| bench-codspeed: | |
| name: Benchmark with Codspeed | |
| runs-on: | |
| - runs-on=${{ github.run_id }} | |
| - family=c6id.8xlarge | |
| - image=ubuntu24-full-x64 | |
| - tag=bench-codspeed | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 | |
| - uses: ./.github/actions/setup-rust | |
| - name: Install libc debug symbols | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libc6-dbg | |
| - name: Install Codspeed | |
| shell: bash | |
| run: cargo install --force cargo-codspeed --locked | |
| - name: Build benchmarks | |
| env: | |
| RUSTFLAGS: "-C target-feature=+avx2" | |
| run: | | |
| cargo codspeed build --profile bench --features runtime | |
| - name: Run benchmarks | |
| uses: CodSpeedHQ/action@4296e51e7041e24dadb86d1d6e8b9320d223dbe8 # v5 | |
| with: | |
| run: cargo codspeed run | |
| token: ${{ secrets.CODSPEED_TOKEN }} | |
| mode: simulation |