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:
- master
- develop
- migration/mono-repo
pull_request:
paths:
@@ -15,7 +14,6 @@ on:
branches:
- master
- develop
- migration/mono-repo
jobs:
lint:

View File

@@ -4,11 +4,21 @@ on:
push:
paths:
- '**.go'
- 'cmds/**'
- 'runtime/**'
- 'service/**'
- 'spn/**'
branches:
- master
- develop
pull_request:
paths:
- '**.go'
- 'cmds/**'
- 'runtime/**'
- 'service/**'
- 'spn/**'
branches:
- master
- develop
@@ -54,4 +64,4 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- 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:
- master
- develop
- migration/mono-repo
pull_request:
paths:
@@ -15,7 +14,6 @@ on:
branches:
- master
- develop
- migration/mono-repo
jobs:
build: