-
Notifications
You must be signed in to change notification settings - Fork 7
60 lines (47 loc) · 1.49 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the action will run.
on:
push:
branches: [ master ]
permissions:
contents: read
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
cfcompile:
runs-on: ubuntu-latest
container:
image: adobecoldfusion/coldfusion2021:2021.0.10
env:
acceptEULA: YES
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
# Runs the cfcompile command inside the docker container
- name: Compile CFML
run: /opt/coldfusion/cfusion/bin/cfcompile.sh -cfruntimeuser root -webroot $GITHUB_WORKSPACE -dir $GITHUB_WORKSPACE
fixinator:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Fixinator Security Scan
uses: foundeo/fixinator-github-action@master
with:
fixinator_api_key: ${{ secrets.FIXINATOR_API_KEY }}
cflint:
runs-on: ubuntu-latest
container:
image: ghcr.io/foundeo/cfml-ci-tools/cfml-ci-tools:latest
steps:
- uses: actions/checkout@v4
- name: Run CFLint
run: box cflint reportLevel=ERROR
codechecker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run CodeChecker
uses: docker://foundeo/cfml-ci-tools:latest
with:
entrypoint: /opt/box/box
args: codechecker run --verbose