mirror of
https://github.com/hay-kot/homebox.git
synced 2024-11-25 01:55:43 +00:00
31 lines
693 B
YAML
31 lines
693 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"
|
|
working-directory: backend
|
|
run: goreleaser release --snapshot --clean --skip-publish
|