Skip to content

Commit f3ced84

Browse files
committed
Update github actions versions
Also add dependabot to avoid going out of date again.
1 parent 5ccb974 commit f3ced84

File tree

3 files changed

+22
-5
lines changed

3 files changed

+22
-5
lines changed

.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "devcontainers"
4+
directory: "/"
5+
schedule:
6+
interval: weekly
7+
- package-ecosystem: "github-actions"
8+
directory: "/"
9+
schedule:
10+
interval: "weekly"

.github/workflows/aoc-badges.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Check out repository
12-
uses: actions/checkout@v2
12+
uses: actions/checkout@v4
1313
- name: Update 2015 badge
1414
uses: joblo2213/aoc-badges-action@v3
1515
with:
@@ -73,8 +73,15 @@ jobs:
7373
userid: 1064020
7474
session: ${{ secrets.AOC_SESSION }}
7575
starsRegex: '(?<=https:\/\/img\.shields\.io\/badge\/stars%20⭐-)[0-9]+(?=-yellow)(?=.*2023)'
76+
- name: Update 2024 badge
77+
uses: joblo2213/aoc-badges-action@v3
78+
with:
79+
year: 2023
80+
userid: 1064020
81+
session: ${{ secrets.AOC_SESSION }}
82+
starsRegex: '(?<=https:\/\/img\.shields\.io\/badge\/stars%20⭐-)[0-9]+(?=-yellow)(?=.*2024)'
7683
- name: Commit changes
77-
uses: stefanzweifel/git-auto-commit-action@v4
84+
uses: stefanzweifel/git-auto-commit-action@v5
7885
with:
7986
commit_message: Update badges
8087
file_pattern: README.md

.github/workflows/verify-problems.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Check out repository
11-
uses: actions/checkout@v2
11+
uses: actions/checkout@v4
1212
- name: Set up Python
13-
uses: actions/setup-python@v2
13+
uses: actions/setup-python@v5
1414
with:
1515
python-version: '3.x'
1616
- name: Install dependencies
@@ -27,6 +27,6 @@ jobs:
2727
runs-on: ubuntu-latest
2828
steps:
2929
- name: Check out repository
30-
uses: actions/checkout@v2
30+
uses: actions/checkout@v4
3131
- name: Verify distributed problems
3232
run: (cd distributed-problems && make all)

0 commit comments

Comments
 (0)