name: Backend CI on: - pull_request jobs: testing_matrix: strategy: matrix: go-version: [1.20.x] os: [ubuntu-latest] folder: [cli, api, cmd, internal, provisioner] name: Running ${{ matrix.folder }} tests on Go ${{ matrix.go-version }} on ${{ matrix.os }} runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: go-version: ${{ matrix.go-version }} - run: go test ./${{ matrix.folder }}/...