From 64c9a3da5c56cea02fa9d49947be19d53dc9237f Mon Sep 17 00:00:00 2001 From: Krystine Sherwin <93062060+KrystalDelusion@users.noreply.github.com> Date: Mon, 4 Mar 2024 13:12:45 +1300 Subject: [PATCH] ci: Checkout goes first --- .github/workflows/test-build.yml | 12 ++++++------ .github/workflows/test-compile.yml | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index 8b39d60d70e..3422976c756 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -19,12 +19,12 @@ jobs: os: [ubuntu-20.04, macos-13] fail-fast: false steps: - - name: Setup environment - uses: ./.github/actions/setup-build-env - - name: Checkout Yosys uses: actions/checkout@v4 + - name: Setup environment + uses: ./.github/actions/setup-build-env + - name: Build shell: bash run: | @@ -60,12 +60,12 @@ jobs: matrix: os: [ubuntu-20.04, macos-13] steps: - - name: Setup environment - uses: ./.github/actions/setup-build-env - - name: Checkout Yosys uses: actions/checkout@v4 + - name: Setup environment + uses: ./.github/actions/setup-build-env + - name: Get iverilog shell: bash run: | diff --git a/.github/workflows/test-compile.yml b/.github/workflows/test-compile.yml index 133356dec94..0a58ba524ef 100644 --- a/.github/workflows/test-compile.yml +++ b/.github/workflows/test-compile.yml @@ -44,6 +44,9 @@ jobs: cpp_std: 'c++11' fail-fast: false steps: + - name: Checkout Yosys + uses: actions/checkout@v4 + - name: Setup environment uses: ./.github/actions/setup-build-env @@ -58,9 +61,6 @@ jobs: $CC --version $CXX --version - - name: Checkout Yosys - uses: actions/checkout@v4 - - name: Build shell: bash run: |