diff options
| author | Ryo Nihei <nihei.dev@gmail.com> | 2022-08-07 00:59:50 +0900 |
|---|---|---|
| committer | Ryo Nihei <nihei.dev@gmail.com> | 2022-08-07 01:37:56 +0900 |
| commit | 5da388521510b839406b6232748bc669cda97dec (patch) | |
| tree | e271b85d996fbfb0a08f2555d5b18398e1337746 /.github | |
| parent | Add tests (diff) | |
| download | cotia-5da388521510b839406b6232748bc669cda97dec.tar.gz cotia-5da388521510b839406b6232748bc669cda97dec.tar.xz | |
Upgrade Go compiler to v1.19
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/test.yml | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5c595df..ca0c729 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,26 +8,25 @@ on: jobs: - build: + test: + name: go test runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - - name: Set up Go - uses: actions/setup-go@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-go@v3 with: - go-version: 1.16 - - - name: Test - run: go test -v ./... + go-version: 1.19 + - run: go test -v ./... - golangci: - name: lint + lint: + name: golangci-lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: golangci-lint - uses: golangci/golangci-lint-action@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-go@v3 + with: + go-version: 1.19 + - uses: golangci/golangci-lint-action@v3 with: version: latest args: -E gofmt |
