From 7ffe31854957c196e434775bec550343b7f012b3 Mon Sep 17 00:00:00 2001 From: t-bltg Date: Thu, 18 Apr 2024 10:35:47 +0200 Subject: [PATCH] update ci `yml` for `codecov` v4 (#377) * update ci yml (codecov) * update --- .github/workflows/ci.yml | 6 ++++-- .github/workflows/format-check.yml | 2 +- .github/workflows/invalidations.yml | 4 ++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8a28c721..a5fcb83a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,7 +40,7 @@ jobs: arch: x64 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@latest with: version: ${{ matrix.version }} @@ -57,6 +57,8 @@ jobs: JULIA_DEBUG: 'Main,UnicodePlots' COLORTERM: 'yes' # 8bit - 256 colors - uses: julia-actions/julia-processcoverage@latest - - uses: codecov/codecov-action@v3 + - uses: codecov/codecov-action@v4 with: + token: ${{ secrets.CODECOV_TOKEN }} + fail_ci_if_error: false file: lcov.info diff --git a/.github/workflows/format-check.yml b/.github/workflows/format-check.yml index b950f03c..bdc062c9 100644 --- a/.github/workflows/format-check.yml +++ b/.github/workflows/format-check.yml @@ -16,7 +16,7 @@ jobs: - uses: julia-actions/setup-julia@latest with: version: '1' - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install JuliaFormatter and format run: | julia -e 'using Pkg; Pkg.add(PackageSpec(name="JuliaFormatter"))' diff --git a/.github/workflows/invalidations.yml b/.github/workflows/invalidations.yml index f7b638ce..0dc819ad 100644 --- a/.github/workflows/invalidations.yml +++ b/.github/workflows/invalidations.yml @@ -16,12 +16,12 @@ jobs: - uses: julia-actions/setup-julia@latest with: version: '1' - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: julia-actions/julia-buildpkg@latest - uses: julia-actions/julia-invalidations@v1 id: invs_pr - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: 'main' - uses: julia-actions/julia-buildpkg@latest