diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3fcfef2..7c8ad84 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,6 +20,7 @@ jobs: uses: actions/setup-go@v5 with: go-version: '1.24' + cache: true - name: Run tests run: go test -v -race -coverprofile=coverage.out ./... @@ -51,6 +52,7 @@ jobs: uses: actions/setup-go@v5 with: go-version: '1.24' + cache: true - name: golangci-lint uses: golangci/golangci-lint-action@v6 @@ -67,6 +69,7 @@ jobs: uses: actions/setup-go@v5 with: go-version: '1.24' + cache: true - name: Install govulncheck run: go install golang.org/x/vuln/cmd/govulncheck@latest @@ -84,6 +87,7 @@ jobs: uses: actions/setup-go@v5 with: go-version: '1.24' + cache: true - name: Build run: go build -v ./... @@ -91,7 +95,6 @@ jobs: integration-test: name: Integration Test runs-on: ubuntu-latest - needs: [build] steps: - uses: actions/checkout@v4 @@ -99,6 +102,7 @@ jobs: uses: actions/setup-go@v5 with: go-version: '1.24' + cache: true - name: Build binary run: go build -o raptor ./cmd/raptor