From d8ed2dc11cd60d7c62ddc3957d94e2f7ac337551 Mon Sep 17 00:00:00 2001 From: David Widmann Date: Mon, 2 Sep 2024 14:50:40 +0200 Subject: [PATCH] Update GH actions and add dependabot (#168) * Update GH actions and add dependabot * Update .github/workflows/ci.yml --- .github/dependabot.yml | 7 +++++++ .github/workflows/IntegrationTest.yml | 8 ++++---- .github/workflows/ci.yml | 25 +++++++++---------------- 3 files changed, 20 insertions(+), 20 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/IntegrationTest.yml b/.github/workflows/IntegrationTest.yml index 552f84c..1cfae7d 100644 --- a/.github/workflows/IntegrationTest.yml +++ b/.github/workflows/IntegrationTest.yml @@ -28,14 +28,14 @@ jobs: - {user: JuliaStats, repo: Distributions.jl} steps: - - uses: actions/checkout@v2 - - uses: julia-actions/setup-julia@v1 + - uses: actions/checkout@v4 + - uses: julia-actions/setup-julia@v2 with: version: ${{ matrix.julia-version }} arch: x64 - - uses: julia-actions/julia-buildpkg@latest + - uses: julia-actions/julia-buildpkg@v1 - name: Clone Downstream - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: repository: ${{ matrix.package.user }}/${{ matrix.package.repo }} path: downstream diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f3762ee..97fee0a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,10 +26,10 @@ jobs: fail-fast: false matrix: version: - - '1.3' # oldest supported version - - '1.6' # LTS + - min # oldest supported version + - lts # LTS - '1' # latest release - - 'nightly' + - pre # pre-releases os: - ubuntu-latest - macos-latest @@ -37,24 +37,17 @@ jobs: arch: - x64 steps: - - uses: actions/checkout@v2 - - uses: julia-actions/setup-julia@v1 + - uses: actions/checkout@v4 + - uses: julia-actions/setup-julia@v2.4 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/cache@v2 - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 - uses: julia-actions/julia-processcoverage@v1 - - uses: codecov/codecov-action@v2 + - uses: codecov/codecov-action@v4 with: + fail_ci_if_error: true file: lcov.info + token: ${{ secrets.CODECOV_TOKEN }}