Skip to content

New package: OSFClient v0.1.0 #26424

New package: OSFClient v0.1.0

New package: OSFClient v0.1.0 #26424

name: Registry Consistency
on:
pull_request:
branches:
- master
push:
branches:
- master
workflow_dispatch:
env:
JULIA_PKG_USE_CLI_GIT: true
permissions:
contents: read
jobs:
check:
runs-on: ${{ matrix.os }}
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
version:
# Keep this list in sync with `update_manifests.yml`.
# - '1.0' # RegistryCI currently doesn't support Julia 1.0
# - '1.1' # RegistryCI currently doesn't support Julia 1.1
# - '1.2' # RegistryCI currently doesn't support Julia 1.2
- '1.3'
- '1.4'
- '1.5'
- '1.6'
- '1.7'
- '1.8'
- '1.9'
- '1.10'
# - '1.11' # TODO: uncomment once Julia 1.11 is released
# - 'nightly' # TODO: uncomment this line
os:
- ubuntu-latest
arch:
- x64
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v3.3.0
- uses: julia-actions/setup-julia@780022b48dfc0c2c6b94cfee6a9284850107d037 # v2.3.0
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- name: Cache artifacts and packages
uses: julia-actions/cache@580d2b69d895343992af2cbad49c32a0149c2cde # v2.0.1
- run: write(ENV["GITHUB_OUTPUT"], "manifest_version=$(VERSION.major).$(VERSION.minor)")
shell: julia --color=yes --project=.ci/ {0}
id: manifest_version
- run: echo "The manifest is .ci/Manifest.${{ steps.manifest_version.outputs.manifest_version }}.toml"
- run: rm -rf .ci/Manifest.toml
- run: mv .ci/Manifest.${{ steps.manifest_version.outputs.manifest_version }}.toml .ci/Manifest.toml
- run: rm -rf .ci/Manifest.*.toml
- run: chmod 400 .ci/Project.toml
- run: chmod 400 .ci/Manifest.toml
if: ${{ matrix.version != 'nightly' }}
- run: julia --color=yes -e 'import Pkg; Pkg.Registry.add("General")'
env:
JULIA_PKG_SERVER: ""
- run: julia --color=yes -e 'import Pkg; Pkg.Registry.update()'
- run: .ci/instantiate.sh
- run: julia --color=yes --project=.ci/ -e 'import Pkg; Pkg.precompile()'
- run: julia --color=yes --project=.ci/ -e 'import RegistryCI; RegistryCI.test()'