mirror of
https://github.com/ErikReider/SwayNotificationCenter.git
synced 2024-09-11 15:56:04 +03:00
26 lines
578 B
YAML
26 lines
578 B
YAML
# This is a basic workflow to help you get started with Actions
|
|
|
|
name: Linting
|
|
|
|
# Controls when the workflow will run
|
|
on:
|
|
# Triggers the workflow on push or pull request events but only for the main branch
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
branches: [ main ]
|
|
|
|
# Allows you to run this workflow manually from the Actions tab
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- uses: elementary/actions/vala-lint@master
|
|
with:
|
|
dir: src/
|
|
conf: .vala-lint.conf
|
|
fail: true
|