Skip to content

Commit

Permalink
Merge pull request #10 from golang-infrastructure/dev
Browse files Browse the repository at this point in the history
ci: 增加GitHub action测试流程
  • Loading branch information
CC11001100 committed Aug 10, 2023
2 parents 539b9b0 + 8b96a08 commit 9b2a632
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/golang.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Go package

on: [ push ]

jobs:
build:

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.18'

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

0 comments on commit 9b2a632

Please sign in to comment.