Skip to content

Commit bee112c

Browse files
committed
chore(ci): update actions version and add dependabot
Signed-off-by: Lachezar Lechev <[email protected]>
1 parent ae00b11 commit bee112c

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

.github/dependabot.yml

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

.github/workflows/deploy.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010
# Stops the running workflow of previous pushes
1111
concurrency:
1212
group: ${{ github.ref }}
13+
1314
cancel-in-progress: true
1415

1516
name: Build and deploy GH Pages
@@ -18,8 +19,8 @@ jobs:
1819
runs-on: ubuntu-latest
1920
steps:
2021
- name: Checkout
21-
uses: actions/checkout@v4
22-
- uses: actions/setup-node@v3
22+
uses: actions/checkout@v5
23+
- uses: actions/setup-node@v6
2324
with:
2425
node-version: 18
2526
# needs the package-lock.json file
@@ -32,18 +33,15 @@ jobs:
3233
run: npm run build
3334
- name: Download crates.io db dump
3435
id: download-crates-io-dump
35-
uses: carlosperate/download-file-action@v1
36+
uses: carlosperate/download-file-action@v2
3637
with:
3738
file-url: 'https://static.crates.io/db-dump.tar.gz'
3839
location: './.tmp'
3940
- uses: dtolnay/rust-toolchain@stable
4041
- name: Run crates.io DB dump scraper
41-
uses: actions-rs/cargo@v1
42-
with:
43-
command: run
44-
# args: --release --all-features
42+
run: cargo run
4543
- name: Build Zola and deploy
46-
uses: shalzz/zola-deploy-action@v0.19.2
44+
uses: shalzz/zola-deploy-action@v0.21.0
4745
env:
4846
# Target branch
4947
PAGES_BRANCH: gh-pages

0 commit comments

Comments
 (0)