mirror of
https://github.com/safing/portmaster.git
synced 2026-12-04 09:38:21 +00:00
60 lines
1.5 KiB
YAML
60 lines
1.5 KiB
YAML
name: Tauri
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- 'desktop/tauri/**'
|
|
branches:
|
|
- main
|
|
- development
|
|
- v1-legacy
|
|
- v1-legacy-develop
|
|
|
|
pull_request:
|
|
paths:
|
|
- 'desktop/tauri/**'
|
|
branches:
|
|
- main
|
|
- development
|
|
- v1-legacy
|
|
- v1-legacy-develop
|
|
|
|
jobs:
|
|
build:
|
|
name: Build
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: earthly/actions-setup@43211c7a0eae5344d6d79fb4aaf209c8f8866203 # v1
|
|
with:
|
|
version: v0.8.0
|
|
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
|
|
|
- name: Log in to the Container registry
|
|
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
|
|
with:
|
|
registry: ghcr.io
|
|
username: ${{ github.actor }}
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Build tauri project
|
|
run: earthly --ci --remote-cache=ghcr.io/safing/build-cache --push +tauri-ci
|
|
|
|
lint:
|
|
name: Linter
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: earthly/actions-setup@43211c7a0eae5344d6d79fb4aaf209c8f8866203 # v1
|
|
with:
|
|
version: v0.8.0
|
|
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
|
|
|
- name: Log in to the Container registry
|
|
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
|
|
with:
|
|
registry: ghcr.io
|
|
username: ${{ github.actor }}
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Build tauri project
|
|
run: earthly --ci --remote-cache=ghcr.io/safing/build-cache --push +tauri-lint
|