Skip to content

Commit 0b08dcc

Browse files
authored
Restore support for older Julias (#87)
* Restore support for older Julias * Run CI on Julia 1.1 * CI: cancel old PR builds * Remove an unused tempdir
1 parent f367e0f commit 0b08dcc

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.github/workflows/CI.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ on:
55
branches: [master, "release-*"]
66
tags: ["*"]
77
pull_request:
8+
concurrency:
9+
# Skip intermediate builds: all builds except for builds on the `master` or `release-*` branches
10+
# Cancel intermediate builds: only pull request builds
11+
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.ref != 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release-') || github.run_number }}
12+
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
813
jobs:
914
test:
1015
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
@@ -13,7 +18,8 @@ jobs:
1318
fail-fast: false
1419
matrix:
1520
version:
16-
- '1.6'
21+
- '1.1' # oldest Julia supported by this package
22+
- '1.6' # current LTS
1723
- '1' # automatically expands to the latest stable 1.x release of Julia
1824
- 'nightly'
1925
os:

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "RegistryTools"
22
uuid = "d1eb7eb1-105f-429d-abf5-b0f65cb9e2c4"
33
authors = ["Stefan Karpinski <stefan@karpinski.org>"]
4-
version = "2.1.0"
4+
version = "2.2.0"
55

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

1313
[compat]
1414
AutoHashEquals = "0.2"
15-
julia = "1.6"
15+
julia = "1.1"
1616

1717
[extras]
1818
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

test/regedit.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -764,7 +764,6 @@ end
764764
@testset "weakdeps" begin
765765
import RegistryTools: ReturnStatus, check_and_update_registry_files
766766

767-
temp_dir = mktempdir(; cleanup=false)
768767
mktempdir(@__DIR__) do temp_dir
769768
registry_path = joinpath(temp_dir, "registry")
770769
projects_path = joinpath(@__DIR__, "project_files")

0 commit comments

Comments
 (0)