From 826d096b280be4969385d3b5f49d549e15997aeb Mon Sep 17 00:00:00 2001 From: Oleg Butuzov Date: Wed, 19 Jul 2023 10:37:17 +0300 Subject: [PATCH] chores: dependabot & cleanup (#47) --- .actrc | 2 -- .github/dependabot.yml | 12 ++++++++++++ .github/workflows/main.yaml | 8 ++++---- .goreleaser.yaml | 12 ++++++++++++ 4 files changed, 28 insertions(+), 6 deletions(-) delete mode 100644 .actrc create mode 100644 .github/dependabot.yml diff --git a/.actrc b/.actrc deleted file mode 100644 index 8182d70..0000000 --- a/.actrc +++ /dev/null @@ -1,2 +0,0 @@ ---platform ubuntu-latest=butuzov/act-go:latest ---env DRY_RUN=1 diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..78b8cc9 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,12 @@ +version: 2 +updates: + - package-ecosystem: gomod + directory: "/" + schedule: + interval: weekly + day: "sunday" + time: "11:00" # 11am UTC + - package-ecosystem: github-actions + directory: "/" + schedule: + interval: weekly diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index f31f6a3..fbabf0c 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -21,10 +21,10 @@ jobs: steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: go-version: ${{ matrix.go }} @@ -55,10 +55,10 @@ jobs: steps: - uses: actions/checkout@v2 - name: lint - uses: golangci/golangci-lint-action@v2 + uses: golangci/golangci-lint-action@v3.6.0 with: version: latest skip-build-cache: true skip-pkg-cache: true - args: -D deadcode + args: -D deadcode --skip-dirs "^(cmd|testdata)" diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 2306cd0..046c2f2 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -37,6 +37,18 @@ builds: checksum: name_template: 'checksums.txt' +changelog: + sort: asc + filters: + exclude: + - '(?i)^docs?:' + - '(?i)^docs\([^:]+\):' + - '(?i)^docs\[[^:]+\]:' + - '^tests?:' + - '(?i)^dev:' + - Merge pull request + - Merge branch + archives: - name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}' replacements: