Skip to content

Commit fd3a467

Browse files
authored
Add dependabot (#136)
1 parent 518f38e commit fd3a467

2 files changed

Lines changed: 22 additions & 14 deletions

File tree

.github/dependabot.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
version: 2
2+
enable-beta-ecosystems: true
3+
updates:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
- package-ecosystem: "github-actions"
6+
directory: "/"
7+
schedule:
8+
interval: "weekly"
9+
- package-ecosystem: "julia" # See documentation for possible values
10+
# # To get started with Dependabot version updates, you'll need to specify which
11+
# package ecosystems to update and where the package manifests are located.
12+
# Please see the documentation for all configuration options:
13+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
14+
directory: "/" # Location of package manifests
15+
schedule:
16+
interval: "weekly"

.github/workflows/ci.yml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,12 @@ jobs:
2020
os: ubuntu-latest
2121
arch: x86
2222
steps:
23-
- uses: actions/checkout@v2
24-
- uses: julia-actions/setup-julia@v1
23+
- uses: actions/checkout@v6
24+
- uses: julia-actions/setup-julia@v2
2525
with:
2626
version: ${{ matrix.version }}
2727
arch: ${{ matrix.arch }}
28-
- uses: actions/cache@v1
29-
env:
30-
cache-name: cache-artifacts
31-
with:
32-
path: ~/.julia/artifacts
33-
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
34-
restore-keys: |
35-
${{ runner.os }}-test-${{ env.cache-name }}-
36-
${{ runner.os }}-test-
37-
${{ runner.os }}-
28+
- uses: julia-actions/cache@v3
3829
- name: dev
3930
shell: julia --project=@. {0}
4031
run: |
@@ -47,6 +38,7 @@ jobs:
4738
- uses: julia-actions/julia-buildpkg@v1
4839
- uses: julia-actions/julia-runtest@v1
4940
- uses: julia-actions/julia-processcoverage@v1
50-
- uses: codecov/codecov-action@v1
41+
- uses: codecov/codecov-action@v5
5142
with:
52-
file: lcov.info
43+
files: lcov.info
44+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)