Skip to content

Commit

Permalink
fix test-and-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
krustowski committed Jul 8, 2024
1 parent b616ae3 commit 99368cb
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/test-and-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: litter-go CI/CD test and build pipeline
on:
workflow_dispatch:
push:
branches: [ master ]
tags:
- 'v0.*'
- 'v1.*'
Expand All @@ -20,8 +19,7 @@ jobs:
# run: make unit

build:
runs-on: ${{ secrets.RUNNER_LABELS }}
needs: [ unit ]
runs-on: ${{ vars.RUNNER_LABELS }}
steps:
- uses: actions/checkout@v4
- name: Build new swapi image (with staging).
Expand All @@ -35,7 +33,7 @@ jobs:
run: make build

push:
runs-on: ${{ secrets.RUNNER_LABELS }}
runs-on: ${{ vars.RUNNER_LABELS }}
needs: [ build ]
steps:
- uses: actions/checkout@v4
Expand All @@ -45,8 +43,8 @@ jobs:
run: make push_to_registry

generate_docs:
runs-on: ${{ secrets.RUNNER_LABELS }}
needs: [ unit ]
runs-on: ${{ vars.RUNNER_LABELS }}
needs: [ build ]
steps:
- uses: actions/checkout@v4
- name: (re)Generate interface API swagger docs.
Expand Down

0 comments on commit 99368cb

Please sign in to comment.