Skip to content

Commit

Permalink
feat: 调整构建版本
Browse files Browse the repository at this point in the history
  • Loading branch information
alonelucky committed Dec 28, 2023
1 parent 110e06f commit 3815406
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,20 @@ name: Go

on:
push:
branches: [ "main" ]
branches: ["main"]
pull_request:
branches: [ "main" ]
branches: ["main"]

jobs:

build:
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"

- name: Build
run: go build -v ./...
- name: Build
run: go build -v .

0 comments on commit 3815406

Please sign in to comment.