Skip to content

Commit

Permalink
Restore support for older Julias (#87)
Browse files Browse the repository at this point in the history
* Restore support for older Julias

* Run CI on Julia 1.1

* CI: cancel old PR builds

* Remove an unused tempdir
  • Loading branch information
DilumAluthge authored Mar 9, 2023
1 parent f367e0f commit 0b08dcc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ on:
branches: [master, "release-*"]
tags: ["*"]
pull_request:
concurrency:
# Skip intermediate builds: all builds except for builds on the `master` or `release-*` branches
# Cancel intermediate builds: only pull request builds
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.ref != 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release-') || github.run_number }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
Expand All @@ -13,7 +18,8 @@ jobs:
fail-fast: false
matrix:
version:
- '1.6'
- '1.1' # oldest Julia supported by this package
- '1.6' # current LTS
- '1' # automatically expands to the latest stable 1.x release of Julia
- 'nightly'
os:
Expand Down
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "RegistryTools"
uuid = "d1eb7eb1-105f-429d-abf5-b0f65cb9e2c4"
authors = ["Stefan Karpinski <[email protected]>"]
version = "2.1.0"
version = "2.2.0"

[deps]
AutoHashEquals = "15f4f7f2-30c1-5605-9d31-71845cf9641f"
Expand All @@ -12,7 +12,7 @@ UUIDs = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"

[compat]
AutoHashEquals = "0.2"
julia = "1.6"
julia = "1.1"

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Expand Down
1 change: 0 additions & 1 deletion test/regedit.jl
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,6 @@ end
@testset "weakdeps" begin
import RegistryTools: ReturnStatus, check_and_update_registry_files

temp_dir = mktempdir(; cleanup=false)
mktempdir(@__DIR__) do temp_dir
registry_path = joinpath(temp_dir, "registry")
projects_path = joinpath(@__DIR__, "project_files")
Expand Down

2 comments on commit 0b08dcc

@DilumAluthge
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/79280

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v2.2.0 -m "<description of version>" 0b08dcc1e65f9d67d6666a8ea40e02bf85b9179e
git push origin v2.2.0

Please sign in to comment.