Skip to content

Commit

Permalink
update gha workflow version
Browse files Browse the repository at this point in the history
Signed-off-by: joseph-sentry <[email protected]>
  • Loading branch information
joseph-sentry committed Oct 6, 2023
1 parent fd2ba5f commit a44ed80
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ concurrency:
jobs:
lint:
name: Run Lint
uses: codecov/gha-workflows/.github/workflows/lint.yml@v1.0.0
uses: codecov/gha-workflows/.github/workflows/lint.yml@v1.2.3

build:
name: Build Worker
uses: codecov/gha-workflows/.github/workflows/build-app.yml@v1.0.0
uses: codecov/gha-workflows/.github/workflows/build-app.yml@v1.2.3
secrets: inherit
with:
repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-worker' }}
Expand All @@ -34,30 +34,30 @@ jobs:
codecovstartup:
name: Codecov Startup
needs: build
uses: codecov/gha-workflows/.github/workflows/codecov-startup.yml@v1.0.0
uses: codecov/gha-workflows/.github/workflows/codecov-startup.yml@v1.2.3
secrets: inherit

ats:
name: ATS
needs: [build, codecovstartup]
if: ${{ !github.event.pull_request.head.repo.fork && github.repository_owner == 'codecov' }}
uses: codecov/gha-workflows/.github/workflows/run-ats.yml@v1.0.0
uses: codecov/gha-workflows/.github/workflows/run-ats.yml@v1.2.3
secrets: inherit
with:
repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-worker' }}

test:
name: Test
needs: [build, codecovstartup]
uses: codecov/gha-workflows/.github/workflows/run-tests.yml@v1.0.0
uses: codecov/gha-workflows/.github/workflows/run-tests.yml@v1.2.3
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/self-hosted.yml@v1.0.0
uses: codecov/gha-workflows/.github/workflows/self-hosted.yml@v1.2.3
secrets: inherit
with:
repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-worker' }}
Expand All @@ -66,7 +66,7 @@ jobs:
name: Push Staging 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/push-env.yml@v1.0.0
uses: codecov/gha-workflows/.github/workflows/push-env.yml@v1.2.3
secrets: inherit
with:
environment: staging
Expand All @@ -76,7 +76,7 @@ jobs:
name: Push Production Image
needs: [ build, test ]
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/production') && github.repository_owner == 'codecov' }}
uses: codecov/gha-workflows/.github/workflows/push-env.yml@v1.0.0
uses: codecov/gha-workflows/.github/workflows/push-env.yml@v1.2.3
secrets: inherit
with:
environment: production
Expand All @@ -87,7 +87,7 @@ jobs:
needs: [ build-self-hosted, test ]
secrets: inherit
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/production') && github.repository_owner == 'codecov' }}
uses: codecov/gha-workflows/.github/workflows/self-hosted.yml@v1.0.0
uses: codecov/gha-workflows/.github/workflows/self-hosted.yml@v1.2.3
with:
push_rolling: true
repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-worker' }}
Expand Down

0 comments on commit a44ed80

Please sign in to comment.