Update options in CI config #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test run for Falco GitHub Action | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
acl: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run Falco on valid ACL | |
uses: ./ | |
with: | |
subcommand: lint | |
target: test/acl/valid.acl | |
- name: Run Falco on valid ACL with normal verbosity | |
uses: ./ | |
with: | |
subcommand: lint | |
options: -v | |
target: test/acl/valid.acl | |
- name: Run Falco on valid ACL with high verbosity | |
uses: ./ | |
with: | |
subcommand: lint | |
options: -vv | |
target: test/acl/valid.acl | |
#- name: Run Falco on ACL with invalid IP | |
#uses: ./ | |
#with: | |
#subcommand: lint | |
#target: test/acl/invalid_ip.acl | |
#- name: Run Falco on ACL with invalid IP range | |
#uses: ./ | |
#with: | |
#subcommand: lint | |
#target: test/acl/invalid_range.acl | |
#- name: Run Falco on ACL with invalid syntax | |
#uses: ./ | |
#with: | |
#subcommand: lint | |
#target: test/acl/invalid_syntax.acl | |
vcl: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run Falco on valid VCL | |
uses: ./ | |
with: | |
subcommand: lint | |
target: test/vcl/valid.vcl | |
- name: Run Falco on valid VCL with normal verbosity | |
uses: ./ | |
with: | |
subcommand: lint | |
options: -v | |
target: test/vcl/valid.vcl | |
- name: Run Falco on valid VCL with high verbosity | |
uses: ./ | |
with: | |
subcommand: lint | |
options: -vv | |
target: test/vcl/valid.vcl | |
- name: Run Falco on valid VCL with include, normal verbosity | |
uses: ./ | |
with: | |
subcommand: lint | |
options: "-v -I test/vcl/includes" | |
target: test/vcl/valid_with_include.vcl | |
#- name: Run Falco on invalid VCL | |
#uses: ./ | |
#with: | |
#subcommand: lint | |
#target: test/vcl/invalid_syntax.acl |