Skip to content

Commit

Permalink
Simplify pipeline, always run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rb3ckers committed Aug 17, 2023
1 parent 75e8870 commit 502a14e
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,31 +54,13 @@ jobs:
docker tag stackstate-cli2-ci:latest $CI_BASE_IMAGE_PUSH
docker push $CI_BASE_IMAGE_PUSH
- name: Check if source is affected
id: source-affected
uses: dorny/paths-filter@v2
with:
filters: |
src:
- 'cmd/**'
- 'internal/**'
- 'pkg/**'
- 'stackstate_openapi/**'
- 'generated/**'
- '*.go'
- 'go.mod'
- 'go.sum'
- 'flake.*'
outputs:
nixChecksum: ${{ env.NIX_CHECKSUM }}
ciImageName: quay.io/stackstate/stackstate-cli:stackstate-cli2-${{ env.NIX_CHECKSUM }}
sourceAffected: ${{ steps.source-affected.outputs.src }}

lint:
name: Linter
needs: setup
if: ${{ needs.setup.outputs.sourceAffected == 'true' }}
runs-on: ubuntu-latest
timeout-minutes: 10
env:
Expand Down Expand Up @@ -197,7 +179,6 @@ jobs:
needs:
- setup
- lint
if: ${{ needs.setup.outputs.sourceAffected == 'true' }}
runs-on: ubuntu-latest
timeout-minutes: 10
env:
Expand Down

0 comments on commit 502a14e

Please sign in to comment.