Skip to content

Commit cf05a11

Browse files
committed
ci: add workflows and dependabot settings
1 parent 3f9c618 commit cf05a11

File tree

4 files changed

+55
-0
lines changed

4 files changed

+55
-0
lines changed

.github/dependabot.yml

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

.github/workflows/check.yml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
pull_request:
6+
jobs:
7+
check:
8+
permissions:
9+
checks: write
10+
uses: joshka/github-workflows/.github/workflows/rust-check.yml@main
11+
with:
12+
msrv: 1.74.0

.github/workflows/release.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
permissions:
2+
pull-requests: write
3+
contents: write
4+
5+
on:
6+
push:
7+
branches:
8+
- main
9+
workflow_dispatch:
10+
jobs:
11+
release-plz:
12+
uses: joshka/github-workflows/.github/workflows/rust-release-plz.yml@main
13+
permissions:
14+
pull-requests: write
15+
contents: write
16+
secrets:
17+
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

.github/workflows/test.yml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
pull_request:
6+
7+
jobs:
8+
test:
9+
uses: joshka/github-workflows/.github/workflows/rust-test.yml@main
10+
secrets:
11+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)