SwayNotificationCenter/.github/workflows/linting.yml
Erik Reider 8eb56a195b
Vala-lint fixes + linting Github Action (#118)
* Updated code to follow vala-lint style

* Added GitHub Linting Action
2022-05-05 22:40:00 +02:00

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