From 70ef6c041f99bea2cec5b29e3e96bf0f86fef73a Mon Sep 17 00:00:00 2001 From: ymw0407 Date: Sat, 6 Apr 2024 23:33:57 +0900 Subject: [PATCH] Fix : go-version of ci.yml fixed to 1.21.6 Signed-off-by: ymw0407 --- .github/workflows/CI.yml | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index c69327f..e5a5e43 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -1,25 +1,24 @@ # This workflow will build a golang project # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go -name: Go +name: Go CI on: push: - branches: [ "main" ] + branches: ["main"] pull_request: - branches: [ "main" ] + branches: ["main"] jobs: - - build: + test: 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: '1.20' + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: "1.21.6" - - name: Test - run: go test -v ./... + - name: Test + run: go test -v ./...