ci: Checkout goes first

This commit is contained in:
Krystine Sherwin 2024-03-04 13:12:45 +13:00
parent d07323e7dd
commit 3c65ddbea0
No known key found for this signature in database
2 changed files with 9 additions and 9 deletions

View File

@ -35,12 +35,12 @@ jobs:
os: [ubuntu-20.04, macos-13] os: [ubuntu-20.04, macos-13]
fail-fast: false fail-fast: false
steps: steps:
- name: Setup environment
uses: ./.github/actions/setup-build-env
- name: Checkout Yosys - name: Checkout Yosys
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Setup environment
uses: ./.github/actions/setup-build-env
- name: Build - name: Build
shell: bash shell: bash
run: | run: |
@ -80,12 +80,12 @@ jobs:
matrix: matrix:
os: [ubuntu-20.04, macos-13] os: [ubuntu-20.04, macos-13]
steps: steps:
- name: Setup environment
uses: ./.github/actions/setup-build-env
- name: Checkout Yosys - name: Checkout Yosys
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Setup environment
uses: ./.github/actions/setup-build-env
- name: Get iverilog - name: Get iverilog
shell: bash shell: bash
run: | run: |

View File

@ -60,6 +60,9 @@ jobs:
cpp_std: 'c++11' cpp_std: 'c++11'
fail-fast: false fail-fast: false
steps: steps:
- name: Checkout Yosys
uses: actions/checkout@v4
- name: Setup environment - name: Setup environment
uses: ./.github/actions/setup-build-env uses: ./.github/actions/setup-build-env
@ -74,9 +77,6 @@ jobs:
$CC --version $CC --version
$CXX --version $CXX --version
- name: Checkout Yosys
uses: actions/checkout@v4
- name: Build - name: Build
shell: bash shell: bash
run: | run: |