Skip to content

Commit

Permalink
Checkout branch before trying to use its code
Browse files Browse the repository at this point in the history
  • Loading branch information
ian-h-chamberlain committed Apr 3, 2023
1 parent cabd3ac commit 46ea78d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ runs:
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: clippy, rustfmt, rust-src
toolchain: ${{ matrix.toolchain }}
toolchain: ${{ inputs.toolchain }}

- name: Install build tools for host
shell: bash
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:
runs-on: ubuntu-latest
container: devkitpro/devkitarm
steps:
- name: Checkout branch
uses: actions/checkout@v2

- uses: ./.github/actions/setup
with:
toolchain: ${{ matrix.toolchain }}
Expand All @@ -51,6 +54,9 @@ jobs:
runs-on: ubuntu-latest
container: devkitpro/devkitarm
steps:
- name: Checkout branch
uses: actions/checkout@v2

- uses: ./.github/actions/setup
with:
toolchain: ${{ matrix.toolchain }}
Expand Down

0 comments on commit 46ea78d

Please sign in to comment.