From 5b7db80839c2e79c218d013095b370533d6c1078 Mon Sep 17 00:00:00 2001 From: Yakiyo Date: Tue, 22 Aug 2023 16:04:35 +0000 Subject: [PATCH] feat: workflow --- .github/workflows/ci.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..81114b7 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,23 @@ +name: ci + +on: + push: + pull_request: + +jobs: + + ci: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version-file: './go.mod' + + - name: Build + run: go build -v ./... + + - name: Test + run: go test -v ./... \ No newline at end of file