diff --git a/.gitea/workflows/docker-test.yml b/.gitea/workflows/docker-test.yml index 5d181b3..eb2a7b0 100644 --- a/.gitea/workflows/docker-test.yml +++ b/.gitea/workflows/docker-test.yml @@ -1,22 +1,23 @@ -jobs: +name: Docker Test on: [push] - build: - runs-on: windows # Must match runner's label in config.yaml - container: - image: mcr.microsoft.com/windows/servercore:ltsc2019 - options: --isolation=process --entrypoint cmd /c "timeout 5" # Test container startup - steps: - - name: Debug container - run: echo "Container is alive!" - - - name: Install Rust - if: success() - run: | - curl -sSf -o rustup-init.exe https://win.rustup.rs/ - .\rustup-init.exe -y --default-toolchain stable - refreshenv - rustup component add rust-src + jobs: + build: + runs-on: windows # Must match runner's label in config.yaml + container: + image: mcr.microsoft.com/windows/servercore:ltsc2019 + options: --isolation=process --entrypoint cmd /c "timeout 5" # Test container startup + steps: + - name: Debug container + run: echo "Container is alive!" - - name: Build - if: success() - run: cargo build \ No newline at end of file + - name: Install Rust + if: success() + run: | + curl -sSf -o rustup-init.exe https://win.rustup.rs/ + .\rustup-init.exe -y --default-toolchain stable + refreshenv + rustup component add rust-src + + - name: Build + if: success() + run: cargo build \ No newline at end of file