Improve/fix workflows

This commit is contained in:
Daniel
2024-04-10 15:14:24 +02:00
parent 0d2c556e20
commit 77c4b815c1
3 changed files with 11 additions and 5 deletions

View File

@@ -7,7 +7,6 @@ on:
branches: branches:
- master - master
- develop - develop
- migration/mono-repo
pull_request: pull_request:
paths: paths:
@@ -15,7 +14,6 @@ on:
branches: branches:
- master - master
- develop - develop
- migration/mono-repo
jobs: jobs:
lint: lint:

View File

@@ -4,11 +4,21 @@ on:
push: push:
paths: paths:
- '**.go' - '**.go'
- 'cmds/**'
- 'runtime/**'
- 'service/**'
- 'spn/**'
branches: branches:
- master - master
- develop - develop
pull_request: pull_request:
paths:
- '**.go'
- 'cmds/**'
- 'runtime/**'
- 'service/**'
- 'spn/**'
branches: branches:
- master - master
- develop - develop
@@ -54,4 +64,4 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }} password: ${{ secrets.GITHUB_TOKEN }}
- name: Build angular projects - name: Build angular projects
run: earthly --ci --remote-cache=ghcr.io/safing/build-cache --push +test-go --TESTFLAGS="-short" run: earthly --ci --remote-cache=ghcr.io/safing/build-cache --push +test-go

View File

@@ -7,7 +7,6 @@ on:
branches: branches:
- master - master
- develop - develop
- migration/mono-repo
pull_request: pull_request:
paths: paths:
@@ -15,7 +14,6 @@ on:
branches: branches:
- master - master
- develop - develop
- migration/mono-repo
jobs: jobs:
build: build: