Skip to content

Commit cf043fe

Browse files
authored
Merge pull request #104 from JuliaCollections/ox/modern
Drop support pre-1.8 and modernize CI
2 parents 831bbd2 + 9c6300b commit cf043fe

File tree

6 files changed

+20
-29
lines changed

6 files changed

+20
-29
lines changed

.github/workflows/CI.yml

Lines changed: 8 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
name: CI
22
on:
3-
pull_request:
4-
push:
5-
branches:
6-
- master
7-
tags: '*'
3+
- push
4+
- pull_request
85
jobs:
96
test:
107
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
@@ -13,34 +10,22 @@ jobs:
1310
fail-fast: false
1411
matrix:
1512
version:
16-
- '0.7'
17-
- '1.0'
18-
# - 'nightly'
13+
- '1.8'
14+
- '1'
1915
os:
2016
- ubuntu-latest
21-
- macOS-latest
22-
- windows-latest
2317
arch:
2418
- x64
2519
steps:
26-
- uses: actions/checkout@v2
20+
- uses: actions/checkout@v3
2721
- uses: julia-actions/setup-julia@v1
2822
with:
2923
version: ${{ matrix.version }}
3024
arch: ${{ matrix.arch }}
31-
- uses: actions/cache@v1
32-
env:
33-
cache-name: cache-artifacts
34-
with:
35-
path: ~/.julia/artifacts
36-
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
37-
restore-keys: |
38-
${{ runner.os }}-test-${{ env.cache-name }}-
39-
${{ runner.os }}-test-
40-
${{ runner.os }}-
25+
- uses: julia-actions/cache@v1
4126
- uses: julia-actions/julia-buildpkg@v1
4227
- uses: julia-actions/julia-runtest@v1
4328
- uses: julia-actions/julia-processcoverage@v1
44-
- uses: codecov/codecov-action@v1
29+
- uses: codecov/codecov-action@v3
4530
with:
46-
file: lcov.info
31+
file: lcov.info

.github/workflows/Documenter.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,12 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v2
14-
- uses: julia-actions/julia-buildpkg@latest
15-
- uses: julia-actions/julia-docdeploy@latest
14+
- uses: julia-actions/setup-julia@v1
15+
with:
16+
version: 1.8
17+
show-versioninfo
18+
- uses: julia-actions/julia-buildpkg@v1
19+
- uses: julia-actions/julia-docdeploy@v1
1620
env:
1721
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1822
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
docs/build/
22
docs/site/
3+
Manifest.toml

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ uuid = "c8e1da08-722c-5040-9ed9-7db0dc04731e"
33
keywords = ["iterators", "itertools", "iteration"]
44
license = "MIT"
55
desc = "Common functional iterator patterns"
6-
version = "1.4.0"
6+
version = "1.5.0"
77

88
[compat]
9-
julia = "0.7, 1.0"
9+
julia = "1.8"
1010

1111
[extras]
1212
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"

REQUIRE

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/make.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ makedocs(
66
pages = [
77
"Introduction" => "index.md",
88
"Function index" => "functionindex.md"
9-
])
9+
],
10+
doctest=false,
11+
)
1012

1113
deploydocs(
1214
repo = "github.com/JuliaCollections/IterTools.jl.git",

0 commit comments

Comments
 (0)