From 473767c498e3dab3c48c415e6895dbf6ba484bfc Mon Sep 17 00:00:00 2001 From: Fredrik Ekre Date: Thu, 12 Jun 2025 09:46:53 +0200 Subject: [PATCH] Update CI configuration --- .github/dependabot.yml | 7 ++++++ .github/workflows/CI.yml | 45 +++++++++++++++++++----------------- .github/workflows/TagBot.yml | 9 ++++---- 3 files changed, 36 insertions(+), 25 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..d60f070 --- /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: "monthly" diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 9bab814..3ec3b81 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -13,34 +13,37 @@ jobs: fail-fast: false matrix: version: - - "1" # Latest Release - - '1.0' # LTS - # We don't do Nightly because the false failures are too annoying on GHA + - "1.6" + - "1.10" + - "1" os: - ubuntu-latest - - windows-latest arch: - x64 - - x86 + include: + - os: windows-latest + version: "1" + arch: x64 + - os: macOS-latest + version: "1" + arch: x64 + - os: ubuntu-latest + version: "1" + arch: x86 steps: - - uses: actions/checkout@v2 - - uses: julia-actions/setup-julia@v1 + - uses: actions/checkout@v4 + - uses: julia-actions/setup-julia@v2 with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - - uses: actions/cache@v1 - env: - cache-name: cache-artifacts - with: - path: ~/.julia/artifacts - key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} - restore-keys: | - ${{ runner.os }}-test-${{ env.cache-name }}- - ${{ runner.os }}-test- - ${{ runner.os }}- - - uses: julia-actions/julia-buildpkg@latest - - uses: julia-actions/julia-runtest@latest + - uses: julia-actions/cache@v2 + # - uses: julia-actions/julia-buildpkg@latest + - uses: julia-actions/julia-runtest@v1 - uses: julia-actions/julia-processcoverage@v1 - - uses: codecov/codecov-action@v1 + - uses: codecov/codecov-action@v5 with: - file: lcov.info + files: lcov.info + plugins: noop + disable_search: true + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/TagBot.yml b/.github/workflows/TagBot.yml index b838c67..8032d61 100644 --- a/.github/workflows/TagBot.yml +++ b/.github/workflows/TagBot.yml @@ -1,17 +1,18 @@ name: TagBot on: - issue_comment: # THIS BIT IS NEW + issue_comment: types: - created workflow_dispatch: + inputs: + lookback: + default: "3" jobs: TagBot: - # THIS 'if' LINE IS NEW if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot' - # NOTHING BELOW HAS CHANGED runs-on: ubuntu-latest steps: - uses: JuliaRegistries/TagBot@v1 with: token: ${{ secrets.GITHUB_TOKEN }} - ssh: ${{ secrets.DOCUMENTER_KEY }} + # ssh: ${{ secrets.DOCUMENTER_KEY }}