···11+# To get started with Dependabot version updates, you'll need to specify which
22+# package ecosystems to update and where the package manifests are located.
33+# Please see the documentation for all configuration options:
44+# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
55+66+version: 2
77+updates:
88+ - package-ecosystem: "gomod" # See documentation for possible values
99+ directory: "/pdsadmin" # Location of package manifests
1010+ schedule:
1111+ interval: "weekly"
1212+ - package-ecosystem: "github-actions"
1313+ directory: "/"
1414+ schedule:
1515+ interval: "weekly"
+26
.github/workflows/go.yaml
···11+name: go
22+on:
33+ push:
44+ branches:
55+ - main
66+ pull_request:
77+ branches:
88+ - main
99+1010+permissions:
1111+ contents: read
1212+1313+jobs:
1414+ build:
1515+ runs-on: ubuntu-latest
1616+ steps:
1717+ - uses: actions/checkout@v4
1818+ - name: setup go environment
1919+ uses: actions/setup-go@v5
2020+ with:
2121+ go-version: "1.24"
2222+ check-latest: true
2323+ - name: build
2424+ run: go build -C pdsadmin -v ./...
2525+ - name: test
2626+ run: go test -C pdsadmin -v ./...
···11+# This is an example .goreleaser.yml file with some sensible defaults.
22+# Make sure to check the documentation at https://goreleaser.com
33+44+# The lines below are called `modelines`. See `:help modeline`
55+# Feel free to remove those if you don't want/need to use them.
66+# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
77+# vim: set ts=2 sw=2 tw=0 fo=cnqoj
88+99+version: 2
1010+1111+before:
1212+ hooks:
1313+ # You may remove this if you don't use go modules.
1414+ - go mod tidy
1515+ # you may remove this if you don't need go generate
1616+ - go generate ./...
1717+1818+builds:
1919+ - env:
2020+ - CGO_ENABLED=0
2121+ goos:
2222+ - linux
2323+ # - windows
2424+ # - darwin
2525+ goarch:
2626+ - amd64
2727+ - arm64
2828+2929+archives:
3030+ - formats: [tar.gz]
3131+ # this name template makes the OS and Arch compatible with the results of `uname`.
3232+ name_template: >-
3333+ {{ .ProjectName }}_
3434+ {{- title .Os }}_
3535+ {{- if eq .Arch "amd64" }}x86_64
3636+ {{- else if eq .Arch "386" }}i386
3737+ {{- else }}{{ .Arch }}{{ end }}
3838+ {{- if .Arm }}v{{ .Arm }}{{ end }}
3939+ # use zip for windows archives
4040+ format_overrides:
4141+ - goos: windows
4242+ formats: [zip]
4343+4444+changelog:
4545+ sort: asc
4646+ filters:
4747+ exclude:
4848+ - "^docs:"
4949+ - "^test:"
5050+ - "^chore:"
5151+5252+release:
5353+ footer: >-
5454+5555+ ---
5656+5757+ Released by [GoReleaser](https://github.com/goreleaser/goreleaser).