diff --git a/.github/workflows/push-pr-lint.yaml b/.github/workflows/push-pr-lint.yaml index 92e3ca24..97d3afe1 100644 --- a/.github/workflows/push-pr-lint.yaml +++ b/.github/workflows/push-pr-lint.yaml @@ -5,32 +5,35 @@ jobs: lint-test: runs-on: ubuntu-latest steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: Install Go uses: actions/setup-go@v4 with: go-version-file: go.mod - - name: Checkout code - uses: actions/checkout@v4 - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: args: --config .golangci.yml --timeout 2m version: v1.56.2 + - name: Test run: go test ./... + build: runs-on: ubuntu-latest needs: [lint-test] steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: Install Go uses: actions/setup-go@v4 with: go-version-file: go.mod - - name: Checkout code - uses: actions/checkout@v4 - - name: build binary run: make build-linux