From 754361e3feafe73438e2b99149a022fe1864d010 Mon Sep 17 00:00:00 2001 From: Mattias Wadman Date: Tue, 5 Dec 2023 13:48:55 +0100 Subject: [PATCH] Add pr test action --- .github/workflows/test.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..f4747b9 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,21 @@ +name: Test + +on: + push: + branches: + - master + pull_request: + # enable manual trigger + workflow_dispatch: + +jobs: + test: + name: go test + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-go@v4 + with: + go-version: stable + - name: + run: go test ./... \ No newline at end of file