Skip to content

Commit

Permalink
Fix missing master stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
maxlandon committed Nov 29, 2023
1 parent 4ce9864 commit c05a3a8
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 11 deletions.
5 changes: 5 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,8 @@ updates:
directory: "/"
schedule:
interval: "daily"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
config-file: ./.github/codeql/codeql-config.yml

- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@v2

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
18 changes: 16 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
fetch-depth: 0

- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: 1.19
go-version: '1.20'

- name: Generate
run: go generate ./...
Expand All @@ -43,6 +43,20 @@ jobs:
- name: "Check formatting"
run: '[ "$(gofmt -d -s . | tee -a /dev/stderr)" = "" ]'

- uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: unit.cov
parallel: true

- uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: integration.cov
parallel: true

- uses: shogo82148/actions-goveralls@v1
with:
parallel-finished: true

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
if: startsWith(github.ref, 'refs/tags/')
Expand Down
13 changes: 6 additions & 7 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,10 @@ builds:
main: ./example-nonposix
binary: example-nonposix
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
name_template: "example_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
- name_template: 'example_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
format_overrides:
- goos: windows
format: zip
checksum:
name_template: 'checksums.txt'
snapshot:
Expand All @@ -38,3 +35,5 @@ changelog:
exclude:
- '^docs:'
- '^test:'
release:
prerelease: auto

0 comments on commit c05a3a8

Please sign in to comment.