Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changes/unreleased/Changed-20260121-203158.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
kind: Changed
body: Support alpha05 spec with name changes
time: 2026-01-21T20:31:58.383732725-08:00
custom:
Issue: "30"
6 changes: 5 additions & 1 deletion .github/workflows/gen-release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,15 @@ jobs:
version: latest
args: latest

- name: Trim Notes
run: |
tail -n +3 .changes/$(go run main.go latest).md > ${{ github.workspace }}/rel_notes.md

- name: Create Pull Request
uses: peter-evans/create-pull-request@v8
with:
token: ${{ secrets.GH_PAT }}
title: Release ${{ steps.latest.outputs.output }}
branch: release/${{ steps.latest.outputs.output }}
commit-message: Release ${{ steps.latest.outputs.output }}
body-path: ".changes/${{ steps.latest.outputs.output }}.md"
body-path: '${{ github.workspace }}/rel_notes.md'
44 changes: 24 additions & 20 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,28 @@ jobs:
runs-on: ubuntu-latest
steps:

- name: Checkout
uses: actions/checkout@v6

- name: Setup Go
uses: actions/setup-go@v6
with:
go-version: 1.24

- name: Get the latest version
id: latest
uses: miniscruff/changie-action@v2
with:
version: latest
args: latest

- name: Release
uses: softprops/action-gh-release@v2
with:
body_path: ".changes/${{ steps.latest.outputs.output }}.md"
tag_name: "${{ steps.latest.outputs.output }}"
- name: Checkout
uses: actions/checkout@v6

- name: Setup Go
uses: actions/setup-go@v6
with:
go-version: 1.24

- name: Get the latest version
id: latest
uses: miniscruff/changie-action@v2
with:
version: latest
args: latest

- name: Trim Notes
run: |
tail -n +3 .changes/$(go run main.go latest).md > ${{ github.workspace }}/rel_notes.md

- name: Release
uses: softprops/action-gh-release@v2
with:
body_path: "${{ github.workspace }}/rel_notes.md"
tag_name: "${{ steps.latest.outputs.output }}"

10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,20 @@ jobs:
runs-on: ubuntu-latest
steps:

- name: Check out code
uses: actions/checkout@v6

- name: Setup Go
uses: actions/setup-go@v6
with:
go-version: 1.24

- name: Check out code
uses: actions/checkout@v6
go-version-file: 'go.mod'

- name: golangci-lint
uses: golangci/golangci-lint-action@v9
with:
# Required: the version of golangci-lint is required and must be specified
# without patch version: we always use the latest patch version.
version: 'v2.1'
version: 'v2.6'

- name: Test
run: go test -coverprofile=c.out ./...
Expand Down
12 changes: 7 additions & 5 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ linters:
- goconst
- goprintffuncname
- gosec
- lll
- intrange
- misspell
- nakedret
- noctx
Expand All @@ -18,7 +18,7 @@ linters:
- unparam
- usetesting
- whitespace
- wsl
- wsl_v5
settings:
exhaustive:
default-signifies-exhaustive: false
Expand All @@ -38,6 +38,10 @@ linters:
- common-false-positives
- legacy
- std-error-handling
rules:
- linters:
- gosec
path: (.+)_test\.go
paths:
- third_party$
- builtin$
Expand All @@ -46,6 +50,7 @@ formatters:
enable:
- gci
- gofmt
- golines
settings:
gci:
sections:
Expand All @@ -56,9 +61,6 @@ formatters:
- dot
- alias
- localmodule
goimports:
local-prefixes:
- github.com/miniscruff/scopie-go
exclusions:
generated: lax
paths:
Expand Down
Loading