Skip to content

Commit 2110eeb

Browse files
committed
Update CI workflows and increase dependabot frequency
Replace Rust-based workflows with Nix build system and change dependabot updates from monthly to weekly for both Cargo and GitHub Actions dependencies.
1 parent 473954d commit 2110eeb

File tree

5 files changed

+41
-79
lines changed

5 files changed

+41
-79
lines changed

.github/dependabot.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
version: 2
2+
23
updates:
34
- package-ecosystem: "cargo"
45
directory: "/"
56
schedule:
6-
interval: "monthly"
7+
interval: "weekly"
78
day: "sunday"
89
commit-message:
910
prefix: "chore(dep): "
@@ -15,7 +16,7 @@ updates:
1516
- package-ecosystem: "github-actions"
1617
directory: "/"
1718
schedule:
18-
interval: "monthly"
19+
interval: "weekly"
1920
day: "sunday"
2021
commit-message:
2122
prefix: "chore(dep): "

.github/workflows/build.yaml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Build
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- main
8+
pull_request:
9+
branches:
10+
- main
11+
12+
permissions:
13+
contents: read
14+
pull-requests: read
15+
16+
jobs:
17+
build:
18+
strategy:
19+
matrix:
20+
os:
21+
- ubuntu-latest
22+
- ubuntu-24.04-arm
23+
- macos-latest
24+
- macos-13
25+
runs-on: ${{ matrix.os }}
26+
steps:
27+
- name: Checkout the source code
28+
uses: actions/checkout@v4
29+
- name: Install nix and flakes
30+
uses: DeterminateSystems/nix-installer-action@v17
31+
- name: Setup cachix cache
32+
uses: cachix/cachix-action@v16
33+
with:
34+
name: nichijou
35+
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
36+
extraPullNames: nix-community,numtide
37+
- name: Build package
38+
run: nix build --no-link

.github/workflows/clippy.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

.github/workflows/rust.yml

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)