From d31723e245a1c7aa15fec8fa064f133949fb6887 Mon Sep 17 00:00:00 2001 From: CPunch Date: Sat, 25 Nov 2023 23:36:02 -0600 Subject: [PATCH] started testing workflow --- .github/workflows/tests.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/tests.yaml diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml new file mode 100644 index 0000000..dd24288 --- /dev/null +++ b/.github/workflows/tests.yaml @@ -0,0 +1,24 @@ +name: Go + +on: + push: + paths: + - ./**.go + - go.mod + - go.sum + - .github/workflows/tests.yaml + +jobs: + tests: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Setup Go + uses: actions/setup-go@v4 + with: + go-version: '1.21.x' + - name: Install dependencies + run: go get . + - name: Test with the Go CLI + run: go test -v ./...