-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into release-lts-1
this pulls all the paginated endpoints into LTS as well as the "vochain: add set_process_duration transaction" from p4u also, some minor version bumps and other irrelevant commits
- Loading branch information
Showing
120 changed files
with
4,173 additions
and
2,284 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,9 +38,9 @@ jobs: | |
echo "go mod tidy made these changes, please run 'go mod tidy' and include those changes in a commit" | ||
exit 1 | ||
fi | ||
- name: Run gofmt | ||
# Run gofmt first, as it's quick and issues are common. | ||
run: diff -u <(echo -n) <(gofmt -s -d .) | ||
- name: Run gofumpt | ||
# Run gofumpt first, as it's quick and issues are common. | ||
run: diff -u <(echo -n) <(go run mvdan.cc/[email protected] -d .) | ||
- name: Run go vet | ||
run: go vet ./... | ||
- name: Run go generate | ||
|
@@ -54,7 +54,7 @@ jobs: | |
fi | ||
- name: Run staticcheck | ||
run: | | ||
go install honnef.co/go/tools/cmd/staticcheck@2023.1.7 | ||
go install honnef.co/go/tools/cmd/staticcheck@2024.1.1 | ||
staticcheck -debug.version | ||
staticcheck ./... 2> staticcheck-stderr | ||
- name: Check staticcheck stderr (this step isn't needed because we are using actions/setup-go@v5 on GitHub hosted runner) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,12 +57,12 @@ jobs: | |
uses: actions/download-artifact@v4 | ||
with: | ||
name: vocdoni-api.yaml | ||
path: swaggers/vocdoni-api.yaml | ||
path: swaggers | ||
|
||
- uses: benjlevesque/[email protected] # sets env.SHA to the first 7 chars of github.sha | ||
- name: Create PR to developer-portal repo | ||
id: cpr | ||
uses: peter-evans/create-pull-request@v4 | ||
uses: peter-evans/create-pull-request@v6 | ||
with: | ||
token: ${{ secrets.VOCDONIBOT_PAT }} | ||
commit-message: "Update vocdoni-api docs by commit ${{ env.SHA }}" | ||
|
Oops, something went wrong.