diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..edf0e61 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,20 @@ +name: "Run Tests" + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version: '1.20' + - name: Run tests + run: go test \ No newline at end of file