Skip to content

Build(deps): Bump julia-actions/setup-julia from 2.5.0 to 2.6.0 #159

Build(deps): Bump julia-actions/setup-julia from 2.5.0 to 2.6.0

Build(deps): Bump julia-actions/setup-julia from 2.5.0 to 2.6.0 #159

Workflow file for this run

name: CI
on:
merge_group:
pull_request:
push:
branches:
- main
tags: "*"
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:
finalize:
timeout-minutes: 10
needs: [test, check]
if: always()
runs-on: ubuntu-latest
steps:
- run: |
echo test: ${{ needs.test.result }}
echo check: ${{ needs.check.result }}
- run: exit 1
if: |
(needs.test.result != 'success') ||
(needs.check.result != 'success')
check:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
persist-credentials: false
- uses: julia-actions/setup-julia@9b79636afcfb07ab02c256cede01fe2db6ba808c # v2.6.0
with:
version: "1.10"
- run: make format-check
test:
runs-on: ${{ matrix.os }}
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
julia-version:
- "1.7"
- "1.8"
- "1"
os:
- ubuntu-latest
- windows-latest
- macos-13
- macos-latest
install_general_registry:
- true
- false
exclude:
- os: macos-latest
julia-version: "1.7"
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
persist-credentials: false
- uses: julia-actions/setup-julia@9b79636afcfb07ab02c256cede01fe2db6ba808c # v2.6.0
with:
version: "${{ matrix.julia-version }}"
- run: julia .ci/setup.jl # sets the `TEMP_DEPOT` environment variable
- uses: ./ # run this action
with:
juliahub_token_encoded: ${{ secrets.JULIAPRO_ENCODED_TOKEN_FOR_TESTING }}
private_registry_name: ${{ secrets.TEST_REGISTRY_NAME }}
private_registry_uuid: ${{ secrets.TEST_REGISTRY_UUID }}
install_general_registry: ${{ matrix.install_general_registry}}
env:
JULIA_PKG_SERVER: ${{ secrets.TEST_PKG_SERVER }}
JULIA_DEPOT_PATH: ${{ env.TEMP_DEPOT }}
- run: julia .ci/test_registries_general${{ matrix.install_general_registry}}.jl
env:
JULIA_PKG_SERVER: ${{ secrets.TEST_PKG_SERVER }}
JULIA_DEPOT_PATH: ${{ env.TEMP_DEPOT }}
TEST_REGISTRY_NAME: ${{ secrets.TEST_REGISTRY_NAME }}
TEST_REGISTRY_UUID: ${{ secrets.TEST_REGISTRY_UUID }}
- run: julia .ci/test_pkg_add.jl
env:
JULIA_PKG_SERVER: ${{ secrets.TEST_PKG_SERVER }}
JULIA_DEPOT_PATH: ${{ env.TEMP_DEPOT }}
TEST_PACKAGE_NAME: ${{ secrets.TEST_PACKAGE_NAME }}
TEST_PACKAGE_UUID: ${{ secrets.TEST_PACKAGE_UUID }}
- run: julia .ci/teardown.jl
env:
TEMP_DEPOT: ${{ env.TEMP_DEPOT }}