From 05a24809a64aefe8294a5cbf858f1e56bbe21f8c Mon Sep 17 00:00:00 2001 From: t-bltg Date: Sun, 10 Nov 2024 18:25:30 +0100 Subject: [PATCH 1/6] support `ColorTpes` 0.12 --- Project.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index ae7134f..cc3fc75 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "MeshIO" uuid = "7269a6da-0436-5bbc-96c2-40638cbb6118" author = "Simon Danisch" -version = "0.4.12" +version = "0.4.13" [deps] ColorTypes = "3da002f7-5984-5a60-b8a6-cbb66c0b333f" @@ -10,7 +10,7 @@ GeometryBasics = "5c1252a2-5f33-56bf-86c9-59e7332b4326" Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7" [compat] -ColorTypes = "0.8, 0.9, 0.10, 0.11" +ColorTypes = "0.8, 0.9, 0.10, 0.11, 0.12" FileIO = "1.2.4" GeometryBasics = "0.4.1" julia = "1.3" From c4cd7bb4c6f4c5310424259ef20f98a72013dc07 Mon Sep 17 00:00:00 2001 From: t-bltg Date: Sun, 10 Nov 2024 18:28:46 +0100 Subject: [PATCH 2/6] add `julia` 1 to CI --- .github/workflows/CI.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index e2bf9be..224cf37 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -12,6 +12,7 @@ jobs: version: - '1.3' - '1.6' + - '1' os: - ubuntu-latest arch: From abcd52230a67fbd43108562089002d735bfb45bb Mon Sep 17 00:00:00 2001 From: t-bltg Date: Sun, 10 Nov 2024 18:29:58 +0100 Subject: [PATCH 3/6] modernize CI --- .github/workflows/CI.yml | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 224cf37..9326218 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -19,23 +19,14 @@ jobs: - x64 steps: - uses: actions/checkout@v4 - - uses: julia-actions/setup-julia@v2 + - uses: julia-actions/setup-julia@latest with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - - uses: actions/cache@v4 - env: - cache-name: cache-artifacts - with: - path: ~/.julia/artifacts - key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} - restore-keys: | - ${{ runner.os }}-test-${{ env.cache-name }}- - ${{ runner.os }}-test- - ${{ runner.os }}- - - uses: julia-actions/julia-buildpkg@v1 - - uses: julia-actions/julia-runtest@v1 - - uses: julia-actions/julia-processcoverage@v1 + - uses: julia-actions/cache@v1 + - uses: julia-actions/julia-buildpkg@latest + - uses: julia-actions/julia-runtest@latest + - uses: julia-actions/julia-processcoverage@latest - uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} From c648f6684eab4bc1a135f5abbebe11727053f133 Mon Sep 17 00:00:00 2001 From: t-bltg Date: Sun, 10 Nov 2024 18:31:47 +0100 Subject: [PATCH 4/6] add concurrency --- .github/workflows/CI.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 9326218..8995ab8 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -2,6 +2,11 @@ name: CI on: - push - pull_request + +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + jobs: test: name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} From c2eaaed626f1526f9777685e32aa0083e7314172 Mon Sep 17 00:00:00 2001 From: t-bltg Date: Sun, 10 Nov 2024 18:33:03 +0100 Subject: [PATCH 5/6] update codecov --- .github/workflows/CI.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 8995ab8..81a1798 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -35,4 +35,5 @@ jobs: - uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} + fail_ci_if_error: false file: lcov.info From 3fa7ee1deb84cf957538846311ea23e409e62151 Mon Sep 17 00:00:00 2001 From: t-bltg Date: Sun, 10 Nov 2024 18:39:27 +0100 Subject: [PATCH 6/6] update --- .github/workflows/CI.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 81a1798..f295237 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -28,7 +28,7 @@ jobs: with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - - uses: julia-actions/cache@v1 + - uses: julia-actions/cache@v2 - uses: julia-actions/julia-buildpkg@latest - uses: julia-actions/julia-runtest@latest - uses: julia-actions/julia-processcoverage@latest