From 5da388521510b839406b6232748bc669cda97dec Mon Sep 17 00:00:00 2001 From: Ryo Nihei Date: Sun, 7 Aug 2022 00:59:50 +0900 Subject: Upgrade Go compiler to v1.19 --- .github/workflows/test.yml | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) (limited to '.github') 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 -- cgit v1.2.3