name: Build and test project on: push: branches: - master pull-request: branches: - master jobs: build: runs-on: debian-12 strategy: matrix: go-version: [ '1.22' ] steps: - name: Checkout repo uses: actions/checkout@v4 - name: Setup Go uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} - name: Build for host architecture run: | make build - name: Run tests run: | make test