From 34ce213a2753d7d3b0475e4451e3455153d11417 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20Baru=C4=8Di=C4=87?= Date: Wed, 17 Apr 2024 10:35:21 +0200 Subject: [PATCH] CI: get rid of the Node.js warnings Node.js 16 actions are deprecated. We need to bump the following actions: - julia-actions/setup-julia (to v2) - julia-actions/cache (to v2) - codecov/codecov-action (to v4) Within this commit, a Codecov token has been added to the github secrets. --- .github/workflows/ci.yml | 7 ++++--- README.md | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f5dffef..8f95290 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,14 +33,15 @@ jobs: arch: x86 steps: - uses: actions/checkout@v4 - - uses: julia-actions/setup-julia@v1 + - uses: julia-actions/setup-julia@v2 with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - - uses: julia-actions/cache@v1 + - uses: julia-actions/cache@v2 - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 - uses: julia-actions/julia-processcoverage@v1 - - uses: codecov/codecov-action@v3 + - uses: codecov/codecov-action@v4 with: + token: ${{ secrets.CODECOV_TOKEN }} files: lcov.info diff --git a/README.md b/README.md index 97ac69c..caf36e8 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # LIBLINEAR [![CI](https://github.com/innerlee/LIBLINEAR.jl/actions/workflows/ci.yml/badge.svg)](https://github.com/innerlee/LIBLINEAR.jl/actions/workflows/ci.yml) +[![codecov](https://codecov.io/gh/JuliaML/LIBLINEAR.jl/graph/badge.svg?token=wNqvTQNWY1)](https://codecov.io/gh/JuliaML/LIBLINEAR.jl) Julia bindings for [LIBLINEAR](https://www.csie.ntu.edu.tw/~cjlin/liblinear/).