From 33de6a36f758df4fb61af468ef67eaaad37a9526 Mon Sep 17 00:00:00 2001 From: Junyuan Chen Date: Tue, 9 Apr 2024 16:15:02 -0700 Subject: [PATCH] Update GitHub workflows --- .github/workflows/CI-latest.yml | 5 +++-- .github/workflows/CI-stable.yml | 12 +++++++----- .github/workflows/CompatHelper.yml | 2 +- .github/workflows/Documentation.yml | 2 +- 4 files changed, 12 insertions(+), 9 deletions(-) diff --git a/.github/workflows/CI-latest.yml b/.github/workflows/CI-latest.yml index 6d58e34..8be7d03 100644 --- a/.github/workflows/CI-latest.yml +++ b/.github/workflows/CI-latest.yml @@ -32,12 +32,12 @@ jobs: arch: - 'x64' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@v1 with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 env: cache-name: cache-artifacts with: @@ -49,6 +49,7 @@ jobs: ${{ runner.os }}- - name: Develop lib packages run: julia --project=. -e "using Pkg; lib = joinpath(@__DIR__, \""lib\""); paths = joinpath.(lib, readdir(lib)); foreach(x->Pkg.develop(PackageSpec(path=x)), paths)" + shell: bash - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 env: diff --git a/.github/workflows/CI-stable.yml b/.github/workflows/CI-stable.yml index 00beb02..5e43fd7 100644 --- a/.github/workflows/CI-stable.yml +++ b/.github/workflows/CI-stable.yml @@ -39,20 +39,20 @@ jobs: os: ubuntu-latest arch: x64 - package: DiffinDiffsBase - version: '1.3' + version: '1.6' os: ubuntu-latest arch: x64 - package: InteractionWeightedDIDs - version: '1.3' + version: '1.6' os: ubuntu-latest arch: x64 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@v1 with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 env: cache-name: cache-artifacts with: @@ -64,6 +64,7 @@ jobs: ${{ runner.os }}- - name: Develop lib packages run: julia --project=. -e "using Pkg; lib = joinpath(@__DIR__, \""lib\""); paths = joinpath.(lib, readdir(lib)); foreach(x->Pkg.develop(PackageSpec(path=x)), paths)" + shell: bash - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 env: @@ -71,6 +72,7 @@ jobs: - uses: julia-actions/julia-processcoverage@v1 with: directories: src,lib/DiffinDiffsBase/src,lib/InteractionWeightedDIDs/src - - uses: codecov/codecov-action@v3 + - uses: codecov/codecov-action@v4 with: file: lcov.info + token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/CompatHelper.yml b/.github/workflows/CompatHelper.yml index 4cd8e5b..cbb0657 100644 --- a/.github/workflows/CompatHelper.yml +++ b/.github/workflows/CompatHelper.yml @@ -7,7 +7,7 @@ jobs: CompatHelper: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: "Add the General registry via Git" run: | import Pkg diff --git a/.github/workflows/Documentation.yml b/.github/workflows/Documentation.yml index a550d2c..2e39254 100644 --- a/.github/workflows/Documentation.yml +++ b/.github/workflows/Documentation.yml @@ -8,7 +8,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@latest with: version: '1'