From 1501b0986bb57431b1a63bbae96ad503dcbde9de Mon Sep 17 00:00:00 2001 From: Gabriele Bozzola Date: Tue, 8 Oct 2024 21:26:46 -0700 Subject: [PATCH] Remove arch from CI jobs and update actions Specifying arch forces the macOS runner to run in emulation mode (the correct arch is aarch64), making it much slower than it needs to be. In the process, I also updated some actions and added dependabot to keep them updated --- .github/dependabot.yml | 7 +++++++ .github/workflows/ci.yml | 9 +++------ 2 files changed, 10 insertions(+), 6 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 000000000..700707ced --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,7 @@ +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" # Location of package manifests + schedule: + interval: "weekly" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f944cc186..858916c43 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,19 +27,16 @@ jobs: - ubuntu-latest - macOS-latest - windows-latest - arch: - - x64 steps: - uses: actions/checkout@v4 - - uses: julia-actions/cache@v1 - - uses: julia-actions/setup-julia@v1 + - uses: julia-actions/cache@v2 + - uses: julia-actions/setup-julia@v2 with: version: ${{ matrix.version }} - arch: ${{ matrix.arch }} - 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: file: lcov.info token: ${{secrets.CODECOV_TOKEN}}