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