Skip to content

Commit 2e1263c

Browse files
committed
feat(dargstack)!: migrate to v4.0.0-beta.1
1 parent 9ec9e4b commit 2e1263c

File tree

157 files changed

+1366
-2439
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

157 files changed

+1366
-2439
lines changed

.commitlintrc.js

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

.github/workflows/ci.yml

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,30 @@ jobs:
2020
build:
2121
needs: ci-optimization
2222
if: needs.ci-optimization.outputs.continue == 'true'
23-
name: dargstack rgen
24-
uses: dargmuesli/github-actions/.github/workflows/dargstack-rgen.yml@661e39fe1c9e484d94c6a5a9d4c9946d57c41771 # 5.1.0
23+
name: Update generated docs
24+
runs-on: ubuntu-latest
2525
permissions:
26-
contents: read
27-
with:
28-
APT_PACKAGES: mkcert
26+
contents: write
27+
steps:
28+
- uses: actions/checkout@v4
29+
with:
30+
ref: ${{ github.head_ref || github.ref_name }}
31+
- name: Regenerate docs
32+
run: |
33+
go install github.com/dargstack/dargstack/v4/cmd/dargstack@latest
34+
export PATH="$(go env GOPATH)/bin:$PATH"
35+
dargstack document
36+
- name: Commit and push updated docs
37+
run: |
38+
git config user.name "github-actions[bot]"
39+
git config user.email "github-actions[bot]@users.noreply.github.com"
40+
git add artifacts/docs/
41+
if git diff --staged --quiet; then
42+
echo "Docs are already up to date"
43+
else
44+
git commit -m "chore: update generated docs"
45+
git push
46+
fi
2947
release-semantic:
3048
needs: build
3149
name: Semantic Release

.husky/commit-msg

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

.husky/pre-commit

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

.nvmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

.releaserc.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@
1515
}
1616
],
1717
"@semantic-release/changelog",
18-
"@semantic-release/npm",
1918
"@semantic-release/github",
2019
"@semantic-release/git"
21-
],
22-
"tagFormat": "${version}"
20+
]
2321
}

Dockerfile.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# <DEPENDENCIES>
2+
FROM ghcr.io/dargstack/dargstack:4.0.0-beta.1
3+
# </DEPENDENCIES>

0 commit comments

Comments
 (0)