Skip to content

Commit 535430f

Browse files
authored
Create dependabot.yml and update actions (#292)
* Create dependabot.yml From https://discourse.julialang.org/t/psa-use-dependabot-to-update-github-actions-automatically/96001 * Update dependent GitHub Action versions * Give CompatHelper.yml steps names and use `shell:`
1 parent f955c1f commit 535430f

File tree

3 files changed

+17
-8
lines changed

3 files changed

+17
-8
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: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ jobs:
1616
os: [ubuntu-latest, macOS-latest]
1717

1818
steps:
19-
- uses: actions/checkout@v2
20-
- uses: julia-actions/setup-julia@latest
19+
- uses: actions/checkout@v5
20+
- uses: julia-actions/setup-julia@2
2121
with:
2222
version: ${{ matrix.julia-version }}
2323
- uses: julia-actions/julia-buildpkg@latest
2424
- uses: julia-actions/julia-runtest@latest
2525
- uses: julia-actions/julia-processcoverage@v1
26-
- uses: codecov/codecov-action@v1
26+
- uses: codecov/codecov-action@v5
2727
if: ${{ matrix.julia-version == '1' && matrix.os == 'ubuntu-latest' }}
2828
with:
29-
file: lcov.info
29+
files: lcov.info

.github/workflows/CompatHelper.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ jobs:
77
CompatHelper:
88
runs-on: ubuntu-latest
99
steps:
10-
- name: Pkg.add("CompatHelper")
11-
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
12-
- name: CompatHelper.main()
10+
- name: Install CompatHelper
11+
shell: julia --color=yes {0}
12+
run: using Pkg; Pkg.add("CompatHelper")
13+
- name: Run CompatHelper
1314
env:
1415
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15-
run: julia -e 'using CompatHelper; CompatHelper.main()'
16+
shell: julia --color=yes {0}
17+
run: using CompatHelper; CompatHelper.main()

0 commit comments

Comments
 (0)