From 6864129c749d23357a6324ffd8c82a8aea62e30b Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 18 May 2026 19:45:59 +0200 Subject: [PATCH] Add CI/CD workflow for testing on main branch --- .github/workflows/test.yml | 18 ++++++++++++++++++ 1 file changed, 18 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..c53e481 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,18 @@ +name: test +on: + push: + branches: + - main +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: '1.22' + - name: Install dependencies + run: go mod download + - name: Run tests + run: go test ./...