Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

CI: Add the tagcheck job, which just makes sure that the latest tagged release of this action is able to run without error #103

Merged
merged 4 commits into from
Oct 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 68 additions & 0 deletions .github/workflows/tagcheck.yml
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()'