From 3c65ddbea07a12e6f0d4cbcee4b18e9c6297913c 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 373228831..cdc19b0e3 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -35,12 +35,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: | @@ -80,12 +80,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 6a0b69c8b..c541b68ff 100644 --- a/.github/workflows/test-compile.yml +++ b/.github/workflows/test-compile.yml @@ -60,6 +60,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 @@ -74,9 +77,6 @@ jobs: $CC --version $CXX --version - - name: Checkout Yosys - uses: actions/checkout@v4 - - name: Build shell: bash run: |