From 5136fafc02ca3789c9ab575012b5059b700df67f Mon Sep 17 00:00:00 2001 From: zuyanlong Date: Thu, 3 Feb 2022 12:15:46 +0800 Subject: [PATCH 1/5] Update go.yml --- .github/workflows/go.yml | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 08d4d24..8b13789 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -1,25 +1 @@ -name: Go -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] - -jobs: - - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - - name: Set up Go - uses: actions/setup-go@v2 - with: - go-version: 1.17 - - - name: Build - run: go build -v ./... - - - name: Test - run: go test -v ./... From ca1c7dbc977c868c474584ec3cf98e4d19f5c46f Mon Sep 17 00:00:00 2001 From: zuyanlong Date: Thu, 3 Feb 2022 12:22:34 +0800 Subject: [PATCH 2/5] Delete go.yml --- .github/workflows/go.yml | 1 - 1 file changed, 1 deletion(-) delete mode 100644 .github/workflows/go.yml diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml deleted file mode 100644 index 8b13789..0000000 --- a/.github/workflows/go.yml +++ /dev/null @@ -1 +0,0 @@ - From e857aaf54afa6c2d003cf1ed5da3f112ea479820 Mon Sep 17 00:00:00 2001 From: zuyanlong Date: Thu, 3 Feb 2022 12:23:56 +0800 Subject: [PATCH 3/5] Create go.yml --- .github/workflows/go.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/go.yml diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml new file mode 100644 index 0000000..08d4d24 --- /dev/null +++ b/.github/workflows/go.yml @@ -0,0 +1,25 @@ +name: Go + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: 1.17 + + - name: Build + run: go build -v ./... + + - name: Test + run: go test -v ./... From 8dda87ec4864a32a41908269a6c40ddb464f65ba Mon Sep 17 00:00:00 2001 From: zuyanlong Date: Thu, 3 Feb 2022 12:32:27 +0800 Subject: [PATCH 4/5] Update main.go --- main/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/main.go b/main/main.go index 344d51f..86d119b 100644 --- a/main/main.go +++ b/main/main.go @@ -1,5 +1,5 @@ package main func main() { - println("Hello world") + println("Hello everyone") } From 41ae6a23860dca09ad8eb41728f43a5ea73669ee Mon Sep 17 00:00:00 2001 From: zuyanlong Date: Thu, 3 Feb 2022 12:32:56 +0800 Subject: [PATCH 5/5] Update main.go --- main/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/main.go b/main/main.go index 86d119b..36322cf 100644 --- a/main/main.go +++ b/main/main.go @@ -1,5 +1,5 @@ package main func main() { - println("Hello everyone") + println("Hello everyone.") }