-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: Add the
tagcheck
job, which just makes sure that the latest tag…
…ged release of this action is able to run without error (#103) * CI: Add the `tagcheck` job, which just makes sure that the latest tagged release of this action is able to run without error * Fix a mistake * Add a comment to clarify
- Loading branch information
1 parent
4a93992
commit 1da6847
Showing
1 changed file
with
68 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,68 @@ | ||
name: tagcheck | ||
# This CI file just checks that the latest tagged release of this | ||
# action (julia-actions/install-juliaup) runs without error. | ||
# | ||
# This CI file does NOT test the code that is on the currently | ||
# checked-out branch. It only runs the code in the latest tagged | ||
# release of this repo. | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
tags: '*' | ||
# merge_group: # GitHub merge queue | ||
concurrency: | ||
# Skip intermediate builds: all builds except for builds on the `main` branch | ||
# Cancel intermediate builds: only pull request builds | ||
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.ref != 'refs/heads/main' || github.run_number }} | ||
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} | ||
permissions: | ||
contents: read | ||
jobs: | ||
tagcheck-hash: | ||
timeout-minutes: 10 | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: | ||
- ubuntu-latest | ||
steps: | ||
# We use Dependabot to automatically update the following line: | ||
- uses: julia-actions/install-juliaup@8fcbfb2c711ea4be133dc43d251b5f862c9016eb # v2.2.0 | ||
with: | ||
channel: '1' | ||
- run: julia --version | ||
- run: julia -e 'import InteractiveUtils; InteractiveUtils.versioninfo()' | ||
tagcheck-version: | ||
timeout-minutes: 10 | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: | ||
- ubuntu-latest | ||
steps: | ||
# We use Dependabot to automatically update the following line: | ||
- uses: julia-actions/install-juliaup@v2.2.0 | ||
with: | ||
channel: '1' | ||
- run: julia --version | ||
- run: julia -e 'import InteractiveUtils; InteractiveUtils.versioninfo()' | ||
tagcheck-convenience: | ||
timeout-minutes: 10 | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: | ||
- ubuntu-latest | ||
steps: | ||
# Note: if/when we release v3 of this action, | ||
# change the following line from v2 to v3: | ||
- uses: julia-actions/install-juliaup@v2 | ||
with: | ||
channel: '1' | ||
- run: julia --version | ||
- run: julia -e 'import InteractiveUtils; InteractiveUtils.versioninfo()' |