From 8e76de356cea1ea824da142e550aaeb5026a3de8 Mon Sep 17 00:00:00 2001 From: xqtc161 Date: Thu, 11 Jul 2024 14:37:20 +0200 Subject: [PATCH] Use GH Actions instead of being stoopid --- .forgejo/workflows/uwu.yaml | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/.forgejo/workflows/uwu.yaml b/.forgejo/workflows/uwu.yaml index d81b8a2..9871912 100644 --- a/.forgejo/workflows/uwu.yaml +++ b/.forgejo/workflows/uwu.yaml @@ -5,14 +5,10 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v2 - - name: Install dependencies - run: | - apt update - apt install --yes curl wget - - name: Install Rust nightly toolchain - run: | - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain nightly --profile default -y - source $HOME/.cargo/env - - name: Run tests - run: cargo test --lib - + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + - uses: actions-rs/cargo@v1 + with: + command: test + args: --release --lib