Bump actions/configure-pages from 5 to 6 #1834
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: Rust | |
| on: [push, pull_request] | |
| jobs: | |
| test: | |
| name: Test | |
| strategy: | |
| matrix: | |
| os: [ubuntu-22.04, macos-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install Deps | |
| if: startsWith(matrix.os, 'ubuntu') | |
| run: | | |
| sudo apt update | |
| sudo apt install -yy libseccomp-dev libssl-dev build-essential fpc lld | |
| - name: Disable testing Java | |
| if: startsWith(matrix.os, 'ubuntu') | |
| run: touch /tmp/disable_java_test | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| id: install-rust | |
| - name: Install Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version: 'stable' | |
| - uses: taiki-e/install-action@nextest | |
| - name: Set RUSTFLAGS for Linux | |
| if: runner.os == 'Linux' | |
| run: echo "RUSTFLAGS=-C linker=clang -C link-arg=-fuse-ld=lld" >> $GITHUB_ENV | |
| - name: cargo nextest run (tests) | |
| env: | |
| RUST_BACKTRACE: 1 | |
| RUST_LOG: info | |
| run: cargo nextest run --workspace --no-fail-fast | |
| clippy: | |
| name: Clippy | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install Deps | |
| if: startsWith(matrix.os, 'ubuntu') | |
| run: | | |
| sudo apt update | |
| sudo apt install -yy libseccomp-dev libssl-dev build-essential fpc | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| id: install-rust | |
| - name: Install Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version: 'stable' | |
| - name: Install JDK | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '25' | |
| - name: cargo clippy | |
| run: tools/clippy.sh | |
| rustfmt: | |
| name: Format | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| id: install-rust | |
| with: | |
| components: rustfmt | |
| - name: cargo fmt | |
| run: cargo fmt --all -- --check |