Skip to content

Commit

Permalink
CI: Add the tagcheck job, which just makes sure that the latest tag…
Browse files Browse the repository at this point in the history
…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
DilumAluthge authored Oct 9, 2024
1 parent 4a93992 commit 1da6847
Showing 1 changed file with 68 additions and 0 deletions.
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()'

0 comments on commit 1da6847

Please sign in to comment.