Skip to content

Commit

Permalink
Update ci.yml (#615)
Browse files Browse the repository at this point in the history
  • Loading branch information
trent-codecov authored Aug 14, 2024
1 parent cc8ed43 commit 201323d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,33 +21,33 @@ concurrency:
jobs:
lint:
name: Run Lint
uses: codecov/gha-workflows/.github/workflows/[email protected].21
uses: codecov/gha-workflows/.github/workflows/[email protected].22

build:
name: Build Worker
uses: codecov/gha-workflows/.github/workflows/[email protected].21
uses: codecov/gha-workflows/.github/workflows/[email protected].22
secrets: inherit
with:
repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-worker' }}

codecovstartup:
name: Codecov Startup
needs: build
uses: codecov/gha-workflows/.github/workflows/[email protected].21
uses: codecov/gha-workflows/.github/workflows/[email protected].22
secrets: inherit

test:
name: Test
needs: [build]
uses: codecov/gha-workflows/.github/workflows/[email protected].21
uses: codecov/gha-workflows/.github/workflows/[email protected].22
secrets: inherit
with:
repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-worker' }}

build-self-hosted:
name: Build Self Hosted Worker
needs: [build, test]
uses: codecov/gha-workflows/.github/workflows/[email protected].21
uses: codecov/gha-workflows/.github/workflows/[email protected].22
secrets: inherit
with:
repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-worker' }}
Expand All @@ -56,7 +56,7 @@ jobs:
name: Push Staging Image
needs: [build, test]
if: ${{ github.event_name == 'push' && (github.event.ref == 'refs/heads/main' || github.event.ref == 'refs/heads/staging') && github.repository_owner == 'codecov' }}
uses: codecov/gha-workflows/.github/workflows/[email protected].21
uses: codecov/gha-workflows/.github/workflows/[email protected].22
secrets: inherit
with:
environment: staging
Expand All @@ -66,7 +66,7 @@ jobs:
name: Push Production Image
needs: [build, test]
if: ${{ github.event_name == 'push' && github.event.ref == 'refs/heads/main' && github.repository_owner == 'codecov' }}
uses: codecov/gha-workflows/.github/workflows/[email protected].21
uses: codecov/gha-workflows/.github/workflows/[email protected].22
secrets: inherit
with:
environment: production
Expand All @@ -77,7 +77,7 @@ jobs:
needs: [build-self-hosted, test]
secrets: inherit
if: ${{ github.event_name == 'push' && github.event.ref == 'refs/heads/main' && github.repository_owner == 'codecov' }}
uses: codecov/gha-workflows/.github/workflows/[email protected].21
uses: codecov/gha-workflows/.github/workflows/[email protected].22
with:
push_rolling: true
repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-worker' }}
Expand Down

0 comments on commit 201323d

Please sign in to comment.