mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-12-04 05:43:27 +01:00
chore: add refactor RFCs and compatibility guardrails (#648)
Phase 0 of the refactor: settle the design record and pin the CLI flag surface and wire names before any code moves.
This commit is contained in:
1 parent
95c47885d3
commit
f4c05f861f
39 files changed
+2144
-914
No files matched your search
@@ -22,7 +22,7 @@ jobs:
|
||||
|
||||
- uses: actions/setup-go@v7
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
go-version: '1.20.x'
|
||||
|
||||
- name: Build
|
||||
run: go build -v ./...
|
||||
@@ -21,7 +21,7 @@ jobs:
|
||||
|
||||
- uses: actions/setup-go@v7
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
go-version: '1.20.x'
|
||||
|
||||
- name: Check Go version constraint
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
@@ -32,12 +32,10 @@ jobs:
|
||||
echo "::error::Current value: go $GO_VERSION"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- name: Check spelling
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
uses: crate-ci/typos@master
|
||||
with:
|
||||
config: ./.typos.toml
|
||||
if grep -q '^toolchain' go.mod; then
|
||||
echo "::error::go.mod must not carry a toolchain line (keeps the module on Go 1.20)"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- name: golangci-lint
|
||||
uses: golangci/golangci-lint-action@v8
|
||||
|
||||
@@ -41,7 +41,7 @@ jobs:
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v7
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
go-version: '1.20.x'
|
||||
|
||||
- name: Set up Zig
|
||||
uses: mlugg/setup-zig@v2
|
||||
|
||||
@@ -23,7 +23,7 @@ jobs:
|
||||
|
||||
- uses: actions/setup-go@v7
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
go-version: '1.20.x'
|
||||
|
||||
- name: Run tests
|
||||
if: matrix.os == 'windows-latest'
|
||||
|
||||
Reference in new issue
Block a user