Skip to content

Commit

Permalink
HTTP/2 Rapid Reset 対策のため Go 1.21.3 以降でビルドするようにする
Browse files Browse the repository at this point in the history
  • Loading branch information
voluntas committed Oct 11, 2023
1 parent 905103f commit faa38e5
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 19 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: './go.mod'
# go-version-file: ./go.mod
go-version: "^1.21.3"

- run: go install github.com/tcnksm/ghr@latest

Expand Down
36 changes: 18 additions & 18 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,34 @@ name: Go Build & Test
on:
push:
branches-ignore:
- 'main'
- "main"
tags-ignore:
- '*'
- "*"

jobs:

build:
name: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: './go.mod'
- name: Set up Go
uses: actions/setup-go@v4
with:
# go-version-file: ./go.mod
go-version: "^1.21.3"

- run: go version
- run: go version

- run: go fmt .
- run: go fmt .

- uses: dominikh/[email protected]
with:
version: "2023.1.2"
install-go: false
- uses: dominikh/[email protected]
with:
version: "2023.1.2"
install-go: false

- name: Test
run: make test
- name: Test
run: make test

- name: Build
run: make
- name: Build
run: make
6 changes: 6 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@

## develop

## 2023.5.1

- [FIX] HTTP/2 Rapid Reset 対策として Go 1.21.3 以上でリリースバイナリを作成するよう修正する
- https://groups.google.com/g/golang-announce/c/iNNxDTCjZvo
- @voluntas

## 2023.5.0

- [ADD] -V で VERSION ファイルを表示する
Expand Down

0 comments on commit faa38e5

Please sign in to comment.