mirror of
https://github.com/sddm/sddm.git
synced 2024-11-23 18:13:26 +08:00
308e8a88f7
* Use Github image (downgrade to Ubuntu 22.04) * Update checkout actions * Use sudo for privileged actions * Fix workflow * Update build.yml Co-authored-by: Pier Luigi Fiorini <pierluigi.fiorini@liri.io>
48 lines
1.1 KiB
YAML
48 lines
1.1 KiB
YAML
name: Checks
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- develop
|
|
tags:
|
|
- v*
|
|
pull_request:
|
|
types:
|
|
- opened
|
|
- synchronize
|
|
- reopened
|
|
- edited
|
|
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
jobs:
|
|
# No longer works as of 2020-11-03 due to npm 7.0.3 -> 7.0.7
|
|
# wip:
|
|
# if: "!contains(github.event.head_commit.message, 'ci skip') && github.event_name == 'pull_request'"
|
|
# runs-on: ubuntu-latest
|
|
# steps:
|
|
# - name: Work in progress
|
|
# uses: wip/action@master
|
|
xdg:
|
|
if: "!contains(github.event.head_commit.message, 'ci skip')"
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 1
|
|
- name: Validate XDG files
|
|
uses: liri-infra/xdg-validator-action@master
|
|
with:
|
|
strict: false
|
|
qml:
|
|
if: "!contains(github.event.head_commit.message, 'ci skip')"
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 1
|
|
- name: Validate QML and JavaScript files
|
|
uses: liri-infra/qmllint-action@master
|