Skip to content

Commit

Permalink
.github: update to Go 1.18.1
Browse files Browse the repository at this point in the history
Also regenerate all of the stubs, we don't need "+build" anymore
because both Go 1.17 and 1.18 use "go:build" for build tags.
  • Loading branch information
kevinburkesegment committed Apr 26, 2022
1 parent 0eb1ec1 commit 9e499ea
Show file tree
Hide file tree
Showing 39 changed files with 6 additions and 47 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/go.yml
Expand Up @@ -7,8 +7,8 @@ jobs:
strategy:
matrix:
go:
- 1.16
- 1.17
- 1.17.x
- 1.18.x
os:
- ubuntu-latest

Expand Down Expand Up @@ -43,12 +43,9 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.17.x
go-version: 1.18.x

- name: Generate
run: make --always-make build

- name: Git Status
- name: Ensure generated assembler code is up to date
run: |
git diff
test -z "$(git status --porcelain)"
go install github.com/kevinburke/differ@1.2
differ make --always-make build
1 change: 0 additions & 1 deletion ascii/equal_fold_amd64.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion ascii/equal_fold_amd64.s
@@ -1,7 +1,6 @@
// Code generated by command: go run equal_fold_asm.go -pkg ascii -out ../ascii/equal_fold_amd64.s -stubs ../ascii/equal_fold_amd64.go. DO NOT EDIT.

//go:build !purego
// +build !purego

#include "textflag.h"

Expand Down
1 change: 0 additions & 1 deletion ascii/valid_amd64.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion ascii/valid_amd64.s
@@ -1,7 +1,6 @@
// Code generated by command: go run valid_asm.go -pkg ascii -out ../ascii/valid_amd64.s -stubs ../ascii/valid_amd64.go. DO NOT EDIT.

//go:build !purego
// +build !purego

#include "textflag.h"

Expand Down
1 change: 0 additions & 1 deletion ascii/valid_print_amd64.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion ascii/valid_print_amd64.s
@@ -1,7 +1,6 @@
// Code generated by command: go run valid_print_asm.go -pkg ascii -out ../ascii/valid_print_amd64.s -stubs ../ascii/valid_print_amd64.go. DO NOT EDIT.

//go:build !purego
// +build !purego

#include "textflag.h"

Expand Down
1 change: 0 additions & 1 deletion base64/decode_amd64.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion base64/decode_amd64.s
@@ -1,7 +1,6 @@
// Code generated by command: go run decode_asm.go -pkg base64 -out ../base64/decode_amd64.s -stubs ../base64/decode_amd64.go. DO NOT EDIT.

//go:build !purego
// +build !purego

#include "textflag.h"

Expand Down
1 change: 0 additions & 1 deletion base64/encode_amd64.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion base64/encode_amd64.s
@@ -1,7 +1,6 @@
// Code generated by command: go run encode_asm.go -pkg base64 -out ../base64/encode_amd64.s -stubs ../base64/encode_amd64.go. DO NOT EDIT.

//go:build !purego
// +build !purego

#include "textflag.h"

Expand Down
1 change: 0 additions & 1 deletion bswap/swap64_amd64.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion bswap/swap64_amd64.s
@@ -1,7 +1,6 @@
// Code generated by command: go run swap64_asm.go -pkg bswap -out ../bswap/swap64_amd64.s -stubs ../bswap/swap64_amd64.go. DO NOT EDIT.

//go:build !purego
// +build !purego

#include "textflag.h"

Expand Down
1 change: 0 additions & 1 deletion keyset/keyset_amd64.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion keyset/keyset_amd64.s
@@ -1,7 +1,6 @@
// Code generated by command: go run keyset_asm.go -pkg keyset -out ../keyset/keyset_amd64.s -stubs ../keyset/keyset_amd64.go. DO NOT EDIT.

//go:build !purego
// +build !purego

#include "textflag.h"

Expand Down
1 change: 0 additions & 1 deletion mem/blend_amd64.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion mem/blend_amd64.s
@@ -1,7 +1,6 @@
// Code generated by command: go run blend_asm.go -pkg mem -out ../mem/blend_amd64.s -stubs ../mem/blend_amd64.go. DO NOT EDIT.

//go:build !purego
// +build !purego

#include "textflag.h"

Expand Down
1 change: 0 additions & 1 deletion mem/contains_amd64.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion mem/contains_amd64.s
@@ -1,7 +1,6 @@
// Code generated by command: go run contains_asm.go -pkg mem -out ../mem/contains_amd64.s -stubs ../mem/contains_amd64.go. DO NOT EDIT.

//go:build !purego
// +build !purego

#include "textflag.h"

Expand Down
1 change: 0 additions & 1 deletion mem/copy_amd64.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion mem/copy_amd64.s
@@ -1,7 +1,6 @@
// Code generated by command: go run copy_asm.go -pkg mem -out ../mem/copy_amd64.s -stubs ../mem/copy_amd64.go. DO NOT EDIT.

//go:build !purego
// +build !purego

#include "textflag.h"

Expand Down
1 change: 0 additions & 1 deletion mem/count_pair_amd64.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion mem/count_pair_amd64.s
@@ -1,7 +1,6 @@
// Code generated by command: go run count_pair_asm.go -pkg mem -out ../mem/count_pair_amd64.s -stubs ../mem/count_pair_amd64.go. DO NOT EDIT.

//go:build !purego
// +build !purego

#include "textflag.h"

Expand Down
1 change: 0 additions & 1 deletion mem/index_pair_amd64.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion mem/index_pair_amd64.s
@@ -1,7 +1,6 @@
// Code generated by command: go run index_pair_asm.go -pkg mem -out ../mem/index_pair_amd64.s -stubs ../mem/index_pair_amd64.go. DO NOT EDIT.

//go:build !purego
// +build !purego

#include "textflag.h"

Expand Down
1 change: 0 additions & 1 deletion mem/mask_amd64.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion mem/mask_amd64.s
@@ -1,7 +1,6 @@
// Code generated by command: go run mask_asm.go -pkg mem -out ../mem/mask_amd64.s -stubs ../mem/mask_amd64.go. DO NOT EDIT.

//go:build !purego
// +build !purego

#include "textflag.h"

Expand Down
1 change: 0 additions & 1 deletion qsort/sort_amd64.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion qsort/sort_amd64.s
@@ -1,7 +1,6 @@
// Code generated by command: go run sort_asm.go -pkg qsort -out ../qsort/sort_amd64.s -stubs ../qsort/sort_amd64.go. DO NOT EDIT.

//go:build !purego
// +build !purego

#include "textflag.h"

Expand Down
1 change: 0 additions & 1 deletion slices/sums_amd64.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion slices/sums_amd64.s
@@ -1,7 +1,6 @@
// Code generated by command: go run sums_asm.go -pkg slices -out ../slices/sums_amd64.s -stubs ../slices/sums_amd64.go. DO NOT EDIT.

//go:build !purego
// +build !purego

#include "textflag.h"

Expand Down
1 change: 0 additions & 1 deletion sortedset/dedupe_amd64.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion sortedset/dedupe_amd64.s
@@ -1,7 +1,6 @@
// Code generated by command: go run dedupe_asm.go -pkg sortedset -out ../sortedset/dedupe_amd64.s -stubs ../sortedset/dedupe_amd64.go. DO NOT EDIT.

//go:build !purego
// +build !purego

#include "textflag.h"

Expand Down
1 change: 0 additions & 1 deletion sortedset/intersect16_amd64.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion sortedset/intersect16_amd64.s
@@ -1,7 +1,6 @@
// Code generated by command: go run intersect16_asm.go -pkg sortedset -out ../sortedset/intersect16_amd64.s -stubs ../sortedset/intersect16_amd64.go. DO NOT EDIT.

//go:build !purego
// +build !purego

#include "textflag.h"

Expand Down
1 change: 0 additions & 1 deletion sortedset/union16_amd64.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion sortedset/union16_amd64.s
@@ -1,7 +1,6 @@
// Code generated by command: go run union16_asm.go -pkg sortedset -out ../sortedset/union16_amd64.s -stubs ../sortedset/union16_amd64.go. DO NOT EDIT.

//go:build !purego
// +build !purego

#include "textflag.h"

Expand Down
1 change: 0 additions & 1 deletion utf8/valid_amd64.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion utf8/valid_amd64.s
@@ -1,7 +1,6 @@
// Code generated by command: go run valid_asm.go -pkg utf8 -out ../utf8/valid_amd64.s -stubs ../utf8/valid_amd64.go. DO NOT EDIT.

//go:build !purego
// +build !purego

#include "textflag.h"

Expand Down

0 comments on commit 9e499ea

Please sign in to comment.