Skip to content

Commit 49a32e0

Browse files
authored
@lock is not exported on earlier Julias (#88)
1 parent 6a3326c commit 49a32e0

File tree

4 files changed

+18
-5
lines changed

4 files changed

+18
-5
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,18 @@
11
name: CI
22
on:
3-
- push
4-
- pull_request
3+
pull_request:
4+
branches:
5+
- master
6+
push:
7+
tags:
8+
- '*'
9+
branches:
10+
- master
11+
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
14+
cancel-in-progress: true
15+
516
jobs:
617
test:
718
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
@@ -12,6 +23,7 @@ jobs:
1223
version:
1324
- '1'
1425
- 'nightly'
26+
- '1.6'
1527
os:
1628
- ubuntu-latest
1729
- macOS-latest

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ColorVectorSpace = "0.8, 0.9, 0.10"
1313
Colors = "0.11, 0.12"
1414
FreeType = "4"
1515
GeometryBasics = "0.4.1"
16-
julia = "1"
16+
julia = "1.6"
1717

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

src/FreeTypeAbstraction.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module FreeTypeAbstraction
22

33
using FreeType, Colors, ColorVectorSpace, GeometryBasics
44
using Base.Iterators: Repeated, repeated
5-
import Base: /, *, ==
5+
import Base: /, *, ==, @lock
66
import Base.Broadcast: BroadcastStyle, Style, broadcasted
77
using GeometryBasics: StaticVector
88

test/runtests.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ ENV["FREETYPE_ABSTRACTION_FONT_PATH"] = @__DIR__ # coverage
22

33
using FreeTypeAbstraction, Colors, ColorVectorSpace, GeometryBasics
44
using GeometryBasics: Vec2f
5-
import FreeTypeAbstraction as FA
5+
import FreeTypeAbstraction
6+
const FA = FreeTypeAbstraction
67
using FreeType
78
using Test
89

0 commit comments

Comments
 (0)