mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 08:38:32 +02:00
* add actionlint for github actions to testing suite * add quotes around vars per shellcheck * change expression per shellcheck * put more quotes around vars per shellcheck * put quotes around entire string * use find instead of ls to better handle non-alphanumberic filenames * update release workflow input types to have actual typese and fix typo
33 lines
768 B
YAML
33 lines
768 B
YAML
# Copyright (C) 2012-2022 jrnl contributors
|
|
# License: https://www.gnu.org/licenses/gpl-3.0.html
|
|
|
|
name: Testing Pipeline Files
|
|
|
|
on:
|
|
push:
|
|
branches: [ develop, release ]
|
|
paths:
|
|
- '.github/workflows/**'
|
|
- '.github/actions/**'
|
|
pull_request:
|
|
branches: [ develop ]
|
|
paths:
|
|
- '.github/workflows/**'
|
|
- '.github/actions/**'
|
|
|
|
jobs:
|
|
test:
|
|
if: >
|
|
! contains(github.event.head_commit.message, '[ci skip]')
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ ubuntu-latest ]
|
|
steps:
|
|
- run: git config --global core.autocrlf false
|
|
- uses: actions/checkout@v2
|
|
- name: Check workflow files
|
|
uses: docker://rhysd/actionlint:latest
|
|
with:
|
|
args: -color
|