From a6ae87c6d384821d8e6c5c51b7bdc9f3c97bd3b7 Mon Sep 17 00:00:00 2001 From: odow Date: Fri, 15 Sep 2023 14:25:43 +1200 Subject: [PATCH] Update GitHub actions --- .github/workflows/ci.yml | 6 +++--- .github/workflows/format_check.yml | 5 ++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c45a5cd..ef6ff54 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,12 +15,12 @@ jobs: os: [ubuntu-latest] arch: [x64] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: julia-actions/setup-julia@v1 with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - - uses: actions/cache@v1 + - uses: actions/cache@v3 env: cache-name: cache-artifacts with: @@ -33,6 +33,6 @@ jobs: - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 - uses: julia-actions/julia-processcoverage@v1 - - uses: codecov/codecov-action@v1 + - uses: codecov/codecov-action@v3 with: file: lcov.info diff --git a/.github/workflows/format_check.yml b/.github/workflows/format_check.yml index edeb255..4ba6981 100644 --- a/.github/workflows/format_check.yml +++ b/.github/workflows/format_check.yml @@ -18,10 +18,9 @@ jobs: shell: julia --color=yes {0} run: | using Pkg - Pkg.add(PackageSpec(name="JuliaFormatter", version="0.13.9")) + Pkg.add(PackageSpec(name="JuliaFormatter", version="1")) using JuliaFormatter - format("src", verbose=true) - format("test", verbose=true) + format("."; verbose = true) out = String(read(Cmd(`git diff`))) if isempty(out) exit(0)