enhancement: update go v1.21 #17
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Check | |
on: | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
go-version: [ 1.19.x, 1.20.x, 1.21.x ] | |
os: [ ubuntu-latest ] | |
entrypoint: [ "main.go" ] | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 5 | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: Go Module Download | |
run: go mod download | |
- name : Build Check | |
run: go build ${{ matrix.entrypoint }} |