From 49d73d310472ced31656b643d3465cd7f7c0da38 Mon Sep 17 00:00:00 2001 From: nekottyo Date: Thu, 7 Dec 2023 16:19:02 +0900 Subject: [PATCH] feat: use 1.21 --- .github/workflows/go.yml | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index c159be62..9a0f358c 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -13,14 +13,13 @@ jobs: runs-on: ubuntu-latest steps: - - name: Set up Go 1.17 - uses: actions/setup-go@v1 + - name: Set up Go + uses: actions/setup-go@v4 with: - go-version: 1.17 + go-version: 1.21 id: go - - name: Check out code into the Go module directory - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: actions/cache@v2 with: @@ -29,13 +28,5 @@ jobs: restore-keys: | ${{ runner.os }}-go- - - name: Get dependencies - run: | - go get -v -t -d ./... - if [ -f Gopkg.toml ]; then - curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh - dep ensure - fi - - name: Build run: go build -v .