chore(deps): bump rand from 0.9.2 to 0.9.4 #108
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
| on: [push] | |
| name: test | |
| jobs: | |
| test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| test: [ko, docker, bazel, nix, railpack] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: actions/setup-go@v5 | |
| if: ${{ matrix.test == 'ko' }} | |
| with: | |
| go-version: "1.24.5" | |
| - uses: ko-build/setup-ko@v0.8 | |
| if: ${{ matrix.test == 'ko' }} | |
| - uses: cachix/install-nix-action@v31 | |
| if: ${{ matrix.test == 'nix' }} | |
| with: | |
| nix_path: nixpkgs=channel:nixos-unstable | |
| - name: Install Railpack | |
| if: ${{ matrix.test == 'railpack' }} | |
| run: | | |
| RAILPACK_VERSION=$(curl -s https://api.github.com/repos/railwayapp/railpack/releases/latest | jq -r .tag_name) | |
| curl -fsSL "https://github.com/railwayapp/railpack/releases/download/${RAILPACK_VERSION}/railpack-${RAILPACK_VERSION}-x86_64-unknown-linux-musl.tar.gz" | tar -xz -C /usr/local/bin railpack | |
| - uses: bazelbuild/setup-bazelisk@v3 | |
| if: ${{ matrix.test == 'bazel' }} | |
| - name: Install Nix prerequisites | |
| if: ${{ matrix.test == 'nix' }} | |
| run: nix-env -i nix-eval-jobs -f '<nixpkgs>' | |
| - name: Install Bazel prerequisites | |
| if: ${{ matrix.test == 'bazel' }} | |
| run: | | |
| curl -LO http://security.ubuntu.com/ubuntu/pool/universe/n/ncurses/libtinfo5_6.3-2ubuntu0.1_amd64.deb && | |
| sudo dpkg -i libtinfo5_6.3-2ubuntu0.1_amd64.deb && | |
| sudo apt-get update && | |
| sudo apt-get install -y g++ | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| targets: ${{ env.RUST_TARGET }} | |
| - name: Login to GitHub Container Registry | |
| uses: docker/login-action@v3 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Cargo cache | |
| id: cache-cargo | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| target | |
| ~/.cargo | |
| key: ${{ runner.os }}-cargo | |
| - name: Set up Steiger | |
| run: cargo install --path . | |
| - name: Run tests | |
| run: steiger --dir tests/${{ matrix.test }} build |