Skip to content

Commit 3cd76cb

Browse files
authored
Create dependabot.yml and update action versions (#78)
* Create dependabot.yml From https://discourse.julialang.org/t/psa-use-dependabot-to-update-github-actions-automatically/96001 * Lower dependabot.yml frequency * Update dependent action versions in CI.yml
1 parent d344f95 commit 3cd76cb

File tree

2 files changed

+13
-14
lines changed

2 files changed

+13
-14
lines changed

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
2+
version: 2
3+
updates:
4+
- package-ecosystem: "github-actions"
5+
directory: "/" # Location of package manifests
6+
schedule:
7+
interval: "monthly"

.github/workflows/CI.yml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,24 +23,16 @@ jobs:
2323
arch:
2424
- x64
2525
steps:
26-
- uses: actions/checkout@v2
27-
- uses: julia-actions/setup-julia@v1
26+
- uses: actions/checkout@v5
27+
- uses: julia-actions/setup-julia@v2
2828
with:
2929
version: ${{ matrix.version }}
3030
arch: ${{ matrix.arch }}
31-
- uses: actions/cache@v1
32-
env:
33-
cache-name: cache-artifacts
34-
with:
35-
path: ~/.julia/artifacts
36-
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
37-
restore-keys: |
38-
${{ runner.os }}-test-${{ env.cache-name }}-
39-
${{ runner.os }}-test-
40-
${{ runner.os }}-
31+
- uses: julia-actions/cache@v2
4132
- uses: julia-actions/julia-buildpkg@v1
4233
- uses: julia-actions/julia-runtest@v1
4334
- uses: julia-actions/julia-processcoverage@v1
44-
- uses: codecov/codecov-action@v1
35+
- uses: codecov/codecov-action@v5
4536
with:
46-
file: lcov.info
37+
files: lcov.info
38+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)