chore(toolchain): upgrade to Go 1.27
Test / vet (push) Successful in 1m5s
Test / test (push) Successful in 2m33s
Test / build (push) Successful in 40s

This commit is contained in:
2026-08-20 16:03:26 +02:00
parent 459f4a2b6e
commit 56630f8624
11 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ jobs:
- uses: actions/setup-go@v6
with:
go-version: "1.26"
go-version: "1.27"
- name: Download dependencies
run: go mod download
+3 -3
View File
@@ -15,7 +15,7 @@ jobs:
- uses: actions/setup-go@v6
with:
go-version: "1.26"
go-version: "1.27"
- name: Download dependencies
run: go mod download
@@ -41,7 +41,7 @@ jobs:
- uses: actions/setup-go@v6
with:
go-version: "1.26"
go-version: "1.27"
- name: Download dependencies
run: go mod download
@@ -84,7 +84,7 @@ jobs:
- uses: actions/setup-go@v6
with:
go-version: "1.26"
go-version: "1.27"
- name: Download dependencies
run: go mod download
+2 -2
View File
@@ -21,7 +21,7 @@ repository. All AI-assisted changes must:
- **Release procedure.**
1. Bump `version` in `justfile` and `cmd/gasm/main.go`.
2. Update `CHANGELOG.md` with a new `## [X.Y.Z] — YYYY-MM-DD` section.
3. Update `README.md` and `docs/architecture.md` if user-visible
3. Update `README.md` and `docs/ARCHITECTURE.md` if user-visible
behaviour changed.
4. Run the Definition of Done (below).
5. Commit on `development`.
@@ -55,7 +55,7 @@ No body, no footers, no trailing period on the subject.
## Code Style
Language: Go 1.26 (`toolchain go1.26.5`).
Language: Go 1.27 (`toolchain go1.27.0`).
### Formatter
+1 -1
View File
@@ -2,7 +2,7 @@
## Prerequisites
- Go 1.26 or later (`toolchain go1.26.5`)
- Go 1.27 or later (`toolchain go1.27.0`)
- `just` command runner
- A Linux host on amd64, arm64, riscv64 or loong64
+4 -4
View File
@@ -90,8 +90,8 @@ cross-compiles the same four targets.
| `cmd/gasm` | The `gasm` binary tying it all together. |
| `_gen` | The generator that rebuilds the instruction tables from the Go toolchain. |
See [`docs/architecture.md`](docs/architecture.md) for the design rationale and
data flow, and [`docs/decisions.md`](docs/decisions.md) for design decisions
See [`docs/ARCHITECTURE.md`](docs/ARCHITECTURE.md) for the design rationale and
data flow, and [`docs/DECISIONS.md`](docs/DECISIONS.md) for design decisions
deliberately postponed (with the analysis needed to pick them up again).
## Quick start
@@ -126,8 +126,8 @@ gasm profile k.s # show basic-block structure
```
See [CONTRIBUTING.md](CONTRIBUTING.md) for the full development workflow,
[docs/cli.md](docs/cli.md) for the command reference, and
[docs/development.md](docs/development.md) for setup and recipes.
[docs/CLI.md](docs/CLI.md) for the command reference, and
[docs/DEVELOPMENT.md](docs/DEVELOPMENT.md) for setup and recipes.
## Editor integration
+1 -1
View File
@@ -379,7 +379,7 @@ func main() {
if err := os.WriteFile(filepath.Join(dir, "main.go"), []byte(mainSrc), 0o644); err != nil {
t.Fatal(err)
}
if err := os.WriteFile(filepath.Join(dir, "go.mod"), []byte("module goobjtest\n\ngo 1.26\n"), 0o644); err != nil {
if err := os.WriteFile(filepath.Join(dir, "go.mod"), []byte("module goobjtest\n\ngo 1.27\n"), 0o644); err != nil {
t.Fatal(err)
}
View File
+1 -1
View File
@@ -4,7 +4,7 @@ Repository: [sourcedock.dev/petrbalvin/gasm-devkit](https://sourcedock.dev/petrb
## Prerequisites
- **Go** 1.26+ with `toolchain go1.26.5`
- **Go** 1.27+ with `toolchain go1.27.0`
- **just** — the command runner; every task below is a just recipe
- No external dependencies beyond the Go toolchain
+2 -2
View File
@@ -1,7 +1,7 @@
module sourcedock.dev/petrbalvin/gasm-devkit
go 1.26
go 1.27
toolchain go1.26.5
toolchain go1.27.0
require golang.org/x/arch v0.29.0