diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index f7d9153..eca6488 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -11,13 +11,16 @@ permissions: read-all jobs: test: runs-on: ubuntu-latest - container: - image: rust:1-bookworm steps: - name: Checkout uses: actions/checkout@v4 + - name: Install Rust + run: | + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal + echo "$HOME/.cargo/bin" >> "$GITHUB_PATH" + - name: Test run: cargo test --locked diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index a411adb..bfc45f8 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -10,13 +10,16 @@ permissions: write-all jobs: release: runs-on: ubuntu-latest - container: - image: rust:1-bookworm steps: - name: Checkout uses: actions/checkout@v4 + - name: Install Rust + run: | + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal + echo "$HOME/.cargo/bin" >> "$GITHUB_PATH" + - name: Test run: cargo test --locked