The CI pipeline should not be running if only markdown files are modified, so they should be ignored.
30 lines
473 B
YAML
30 lines
473 B
YAML
name: CI
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths-ignore:
|
|
- '**/*.md'
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
paths-ignore:
|
|
- '**/*.md'
|
|
|
|
jobs:
|
|
ci:
|
|
name: CI
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
- name: Build
|
|
run: make build
|
|
env:
|
|
VERSION: latest
|
|
- name: Test
|
|
run: make test
|
|
- name: Lint
|
|
run: make lint
|