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