From e08d43b1005dc62de82664e6dd5535ecafeaa6ca Mon Sep 17 00:00:00 2001 From: Chris Bertinato Date: Sat, 9 Mar 2024 09:09:02 -0500 Subject: [PATCH] Omit build job from CI --- .github/workflows/ci.yaml | 31 +++++++------------------------ 1 file changed, 7 insertions(+), 24 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 998aea6..8f09be8 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -10,29 +10,12 @@ env: GOLANG_VERSION: '1.22' jobs: - unit-tests: - name: Unit tests running - runs-on: ubuntu-latest - steps: - - name: Set up Go - uses: actions/setup-go@v3 - with: - go-version: ${{ env.GOLANG_VERSION }} - - - name: Checkout code - uses: actions/checkout@v3.1.0 - - - name: Unit tests running - run: | - go test -v ./... - - linting: name: Go code linting runs-on: ubuntu-latest steps: - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: ${{ env.GOLANG_VERSION }} @@ -43,19 +26,19 @@ jobs: uses: golangci/golangci-lint-action@v3 with: args: --verbose --timeout 6m - - build: - name: Build creation + + unit-tests: + name: Unit tests running runs-on: ubuntu-latest steps: - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: ${{ env.GOLANG_VERSION }} - name: Checkout code uses: actions/checkout@v3.1.0 - - name: Build creation + - name: Unit tests running run: | - go build -v \ No newline at end of file + go test -v ./...