name: CI on: push: branches: [main, master] pull_request: permissions: contents: read jobs: test: runs-on: ubuntu-latest strategy: fail-fast: false matrix: go-version: ["1.21", "1.22"] steps: - uses: actions/checkout@v4 with: fetch-depth: 0 fetch-tags: true - uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} cache: true - name: Test run: make test - name: Build run: make build - name: Verify version run: ./codeagent-wrapper --version lint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 with: fetch-depth: 0 fetch-tags: true - uses: actions/setup-go@v5 with: go-version: "1.22" cache: true - name: Lint run: make lint