Skip to content

Commit

Permalink
updating workflows (#787)
Browse files Browse the repository at this point in the history
Co-authored-by: Arpad Borsos <[email protected]>
  • Loading branch information
jason-ford-codecov and Swatinem authored Oct 16, 2024
1 parent 080f8df commit 220be0a
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 @@ -22,11 +22,11 @@ jobs:
lint:
name: Run Lint

uses: codecov/gha-workflows/.github/workflows/[email protected].23
uses: codecov/gha-workflows/.github/workflows/[email protected].24

build:
name: Build Worker
uses: codecov/gha-workflows/.github/workflows/[email protected].23
uses: codecov/gha-workflows/.github/workflows/[email protected].24

secrets: inherit
with:
Expand All @@ -35,14 +35,14 @@ jobs:
codecovstartup:
name: Codecov Startup
needs: build
uses: codecov/gha-workflows/.github/workflows/[email protected].23
uses: codecov/gha-workflows/.github/workflows/[email protected].24

secrets: inherit

test:
name: Test
needs: [build]
uses: codecov/gha-workflows/.github/workflows/[email protected].23
uses: codecov/gha-workflows/.github/workflows/[email protected].24

secrets: inherit
with:
Expand All @@ -52,7 +52,7 @@ jobs:
name: Build Self Hosted Worker
needs: [build, test]

uses: codecov/gha-workflows/.github/workflows/[email protected].23
uses: codecov/gha-workflows/.github/workflows/[email protected].24
secrets: inherit
with:
repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-worker' }}
Expand All @@ -61,7 +61,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].23
uses: codecov/gha-workflows/.github/workflows/[email protected].24
secrets: inherit
with:
environment: staging
Expand All @@ -71,7 +71,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].23
uses: codecov/gha-workflows/.github/workflows/[email protected].24
secrets: inherit
with:
environment: production
Expand All @@ -82,7 +82,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].23
uses: codecov/gha-workflows/.github/workflows/[email protected].24
with:
push_rolling: true
repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-worker' }}

0 comments on commit 220be0a

Please sign in to comment.