From 782aa4c6800aec744b8db6ce8705b186be0918e2 Mon Sep 17 00:00:00 2001 From: akshun Date: Thu, 5 Jun 2025 23:37:06 +0000 Subject: [PATCH] Update .gitea/workflows/build.yml --- .gitea/workflows/build.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index bc5bb90..ebd3571 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -14,14 +14,15 @@ jobs: container: image: archlinux:latest steps: + + - uses: actions/checkout@v4 + - name: Install dependencies run: | pacman -Syu --noconfirm pacman -S --noconfirm git rustup gcc rustup default stable - - uses: actions/checkout@v1 - - name: Build with cargo run: | cargo build --release @@ -37,6 +38,9 @@ jobs: container: image: debian:stable steps: + + - uses: actions/checkout@v4 + - name: Install dependencies run: | apt update && apt upgrade -y @@ -44,8 +48,6 @@ jobs: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y . $HOME/.cargo/env - - uses: actions/checkout@v1 - - name: Build with cargo run: | cargo build --release @@ -61,6 +63,9 @@ jobs: container: image: fedora:latest steps: + + - uses: actions/checkout@v4 + - name: Install dependencies run: | dnf update -y @@ -68,8 +73,6 @@ jobs: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y . $HOME/.cargo/env - - uses: actions/checkout@v1 - - name: Build with cargo run: | cargo build --release