mirror of
https://github.com/hay-kot/homebox.git
synced 2024-11-23 00:55:43 +00:00
30 lines
658 B
YAML
30 lines
658 B
YAML
name: Pull Request CI
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
backend-tests:
|
|
name: "Backend Server Tests"
|
|
uses: ./.github/workflows/partial-backend.yaml
|
|
|
|
frontend-tests:
|
|
name: "Frontend and End-to-End Tests"
|
|
uses: ./.github/workflows/partial-frontend.yaml
|
|
|
|
releaser:
|
|
name: "Cross Compile and Release"
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: ghcr.io/goreleaser/goreleaser-cross:v1.20.2
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: "Cross Compile and Release"
|
|
run: goreleaser release --snapshot --clean --skip-publish
|