Skip to content

Commit

Permalink
Update go_build_test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ygxbnet committed Jan 21, 2024
1 parent b9be8db commit d37a595
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/go_build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,21 @@ name: Go Build test

on:
pull_request:
branches: [ "dev" ]
branches: ["dev"]

jobs:

build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.20'
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: "go.mod"

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

- name: Test
run: go test -v ./...
- name: Test
run: go test -v ./...

0 comments on commit d37a595

Please sign in to comment.