From 382f7e2f4da380f0c70a7421f16836f85fc27c75 Mon Sep 17 00:00:00 2001 From: Eric Hodel Date: Wed, 5 Jun 2024 23:50:00 -0700 Subject: [PATCH] GitHub doesn't actually support YAML --- .github/workflows/publish.yaml | 2 +- .github/workflows/rust.yml | 11 +++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 9b74cdb..b876f81 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -53,7 +53,7 @@ jobs: runs-on: windows-latest timeout-minutes: 20 steps: - - name: Prepare symlink configuration + - name: Enable symlinks run: git config --global core.symlinks true - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 7b7e0f9..130d61c 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -15,7 +15,7 @@ env: jobs: test_ubuntu: runs-on: ubuntu-latest - steps: &test-steps + steps: - uses: actions/checkout@v4 - name: Build run: cargo build --verbose @@ -24,4 +24,11 @@ jobs: test_windows: runs-on: windows-latest - steps: *test-steps + steps: + - name: Enable symlinks + run: git config --global core.symlinks true + - uses: actions/checkout@v4 + - name: Build + run: cargo build --verbose + - name: Run tests + run: cargo test --verbose