From e8442887ce7c23abf93c9ca050ed54a58f0949de Mon Sep 17 00:00:00 2001 From: CC11001100 Date: Fri, 16 Feb 2024 00:42:49 +0800 Subject: [PATCH] ci: add github action --- .github/workflows/golang.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/golang.yaml diff --git a/.github/workflows/golang.yaml b/.github/workflows/golang.yaml new file mode 100644 index 0000000..0ab11bc --- /dev/null +++ b/.github/workflows/golang.yaml @@ -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 ./... \ No newline at end of file