forked from actions-rs/toolchain
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
51553e3
commit 51761b3
Showing
8 changed files
with
85 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
name: Check | ||
on: | ||
- pull_request | ||
- push: | ||
branches: | ||
- main | ||
permissions: | ||
contents: read | ||
concurrency: | ||
|
5 changes: 4 additions & 1 deletion
5
.github/workflows/test_components.yml → .github/workflows/test_components_input.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 4 additions & 1 deletion
5
...ows/test_install_as_default_toolchain.yml → .github/workflows/test_default_input.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 4 additions & 1 deletion
5
.github/workflows/test_stable_nightly.yml → ...workflows/test_install_stable_nightly.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
name: CI Test - override input | ||
on: | ||
- pull_request | ||
- push: | ||
branches: | ||
- main | ||
jobs: | ||
install_on_runner: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: | ||
- ubuntu-latest | ||
- macOS-latest | ||
- windows-latest | ||
toolchain: | ||
- 1.70.0 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Use myself | ||
id: toolchain | ||
uses: ./ | ||
with: | ||
toolchain: ${{ matrix.toolchain }} | ||
profile: minimal | ||
override: true | ||
|
||
- name: Test toolchain version | ||
run: | | ||
test "${{ steps.toolchain.outputs.rustc }}" = "${{ matrix.toolchain }}" | ||
install_in_docker: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
toolchain: | ||
- 1.70.0 | ||
# Docker image, not the GitHub Actions VM | ||
container: ubuntu:latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
# `rustup` will need `curl` or `wget` later | ||
- name: Install packages | ||
run: apt-get update && apt-get install -y curl | ||
|
||
- name: Use myself | ||
id: toolchain | ||
uses: ./ | ||
with: | ||
toolchain: ${{ matrix.toolchain }} | ||
profile: minimal | ||
override: true | ||
|
||
- name: Test toolchain version | ||
run: | | ||
test "${{ steps.toolchain.outputs.rustc }}" = "${{ matrix.toolchain }}" |
5 changes: 4 additions & 1 deletion
5
.github/workflows/test_targets.yml → .github/workflows/test_targets_input.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
.github/workflows/test_toolchain_version.yml → .github/workflows/test_toolchain_input.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
name: Unit Tests | ||
on: | ||
- pull_request | ||
- push: | ||
branches: | ||
- main | ||
permissions: | ||
contents: read | ||
concurrency: | ||
|