Skip to content

Commit

Permalink
Merge pull request #124 from meian/123-support-versions
Browse files Browse the repository at this point in the history
#123 Support versions
  • Loading branch information
meian authored Sep 7, 2022
2 parents bd47748 + 1d69d98 commit 68ed162
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,19 @@ on:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
go-version:
- "1.18"
- "1.19"
steps:
- name: "Checkout"
uses: actions/checkout@v3

- name: Set up Go
- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@v3
with:
go-version: "1.18"
go-version: ${{ matrix.go-version }}

- name: Test
run: go test -v -race ./...
6 changes: 3 additions & 3 deletions README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ r := gcf.ToSlice(itb)

## 環境

- Go 1.18 RC(or Beta)
- Go 1.18 or 1.19

gcf では Generics を利用しているため、このバージョンは現在はBetaのステータスではありますが、利用するためには1.18のバージョンが必要になります
ローカル環境にGo 1.18をインストールしたくない場合に利用できるvscodeでの利用に合わせたコンテナ利用環境も用意しています
gcf では Generics を利用しているため、1.18以上のバージョンが必要になります
ローカル環境に新しいバージョンのGoをインストールしたくない場合に利用できるvscodeでの利用に合わせたコンテナ利用環境も用意しています
([.devcontainer](https://github.com/meian/gcf/tree/main/.devcontainer) 以下を参照)

## インストール方法
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ Replacing inline processing with gcf will significantly reduce the performance,

## Environment

- Go 1.18 RC (or Beta)
- Go 1.18 or 1.19

Since gcf uses Generics, this version is currently in Beta status, but you need version 1.18 to use it.
We also have a container usage environment for vscode that you can use if you do not want to install Go 1.18 in your local environment.
Since gcf uses Generics feature, version 1.18 or higher is required.
We also have a container usage environment for vscode that you can use if you do not want to install new Go version in your local environment.
(See below [.devcontainer](https://github.com/meian/gcf/tree/main/.devcontainer))

## Installation
Expand Down

0 comments on commit 68ed162

Please sign in to comment.