1
0
Fork 0
mirror of https://github.com/karancode/yamllint-github-action.git synced 2024-08-16 10:19:48 +02:00
yamllint/.github/workflows/test.yml
Tung Beier 35d356f02b
fix(test): adapt test validation (#18)
* fix(test): adapt test validation

Related to the change in
https://github.com/karancode/yamllint-github-action/pull/17

* feat(action): run CI on pull request against master
2023-03-14 15:10:12 +00:00

25 lines
528 B
YAML

---
name: "Continuous Integration"
on:
push:
branches-ignore:
- 'dependabot/*'
schedule:
- cron: '22 22 * * 5'
pull_request:
branches:
- 'master'
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install bats
run: sudo apt-get -y install bats > /dev/null
- name: Run CI script
run: ./tests/run.bats
- name: Run action
uses: ./
with:
yamllint_file_or_dir: "./tests/data/single_files/file2.yml"