diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..96cedf6 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,20 @@ +on: [push, pull_request] +name: Tests +jobs: + test: + strategy: + matrix: + go-version: [1.19.x] + # Disabled: windows-latest + os: [ubuntu-latest, macos-latest] + runs-on: ${{ matrix.os }} + steps: + - name: Install Go + uses: actions/setup-go@v2 + with: + go-version: ${{ matrix.go-version }} + - name: Checkout code + uses: actions/checkout@v2 + - name: Run tests + run: | + go test ./... -v diff --git a/go.mod b/go.mod index 29c7a94..a77a34e 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/waku-org/go-zerokit-rln -go 1.18 +go 1.19 require ( github.com/stretchr/testify v1.7.2