Improve/fix build system and CI

This commit is contained in:
Daniel
2024-04-18 14:25:21 +02:00
parent 0c61f2c35e
commit a223250f00
3 changed files with 40 additions and 31 deletions

View File

@@ -17,7 +17,7 @@ on:
jobs:
lint:
name: Linter
name: Lint
runs-on: ubuntu-latest
defaults:
run:
@@ -56,4 +56,4 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build angular projects
run: earthly --ci --remote-cache=ghcr.io/safing/build-cache --push +build-angular
run: earthly --ci --remote-cache=ghcr.io/safing/build-cache --push +angular-release

View File

@@ -48,7 +48,7 @@ jobs:
run: go vet ./...
test:
name: Test
name: Test & Build
runs-on: ubuntu-latest
steps:
- uses: earthly/actions-setup@v1
@@ -64,4 +64,4 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Run Go Tests
run: earthly --ci --remote-cache=ghcr.io/safing/build-cache --push +test-go
run: earthly --ci --remote-cache=ghcr.io/safing/build-cache --push +go-ci