Skip to content

Commit

Permalink
Merge branch 'main' into release-lts-1
Browse files Browse the repository at this point in the history
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
altergui committed Aug 22, 2024
2 parents 85f5b4c + 6f4642c commit e7a8277
Show file tree
Hide file tree
Showing 120 changed files with 4,173 additions and 2,284 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot/config.yml
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"
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/gofumpt@v0.7.0 -d .)
- name: Run go vet
run: go vet ./...
- name: Run go generate
Expand All @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ jobs:
uses: actions/download-artifact@v4
with:
name: vocdoni-api.yaml
path: swaggers/vocdoni-api.yaml
path: swaggers

- uses: benjlevesque/short-sha@v3.0 # 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 }}"
Expand Down
Loading

0 comments on commit e7a8277

Please sign in to comment.