10
10
run :
11
11
working-directory : terraform
12
12
steps :
13
- - uses : actions/checkout@v3
13
+ - uses : actions/checkout@v4
14
14
- name : Set up Terraform
15
- uses : hashicorp/setup-terraform@v2
15
+ uses : hashicorp/setup-terraform@v3
16
16
- name : Terraform Init
17
17
id : init
18
18
run : terraform init
@@ -22,14 +22,14 @@ jobs:
22
22
checkov :
23
23
runs-on : ubuntu-latest
24
24
steps :
25
- - uses : actions/checkout@v3
25
+ - uses : actions/checkout@v4
26
26
- name : Set up Python 3.9
27
- uses : actions/setup-python@v4
27
+ uses : actions/setup-python@v5
28
28
with :
29
- python-version : 3.9
29
+ python-version : 3.11
30
30
- name : Scan with Checkov
31
31
id : checkov
32
- uses : bridgecrewio/checkov-action@master
32
+ uses : bridgecrewio/checkov-action@v12
33
33
with :
34
34
directory : terraform
35
35
framework : terraform
39
39
run :
40
40
working-directory : src
41
41
steps :
42
- - uses : actions/checkout@v3
42
+ - uses : actions/checkout@v4
43
43
- name : Initialize CodeQL
44
44
uses : github/codeql-action/init@v2
45
45
with :
@@ -52,15 +52,15 @@ jobs:
52
52
run :
53
53
working-directory : src
54
54
container :
55
- image : returntocorp /semgrep
55
+ image : semgrep /semgrep
56
56
steps :
57
- - uses : actions/checkout@v3
57
+ - uses : actions/checkout@v4
58
58
- run : semgrep ci --config "p/ci" --config "p/python" --config "p/owasp-top-ten" --sarif --output=semgrep.sarif
59
59
release :
60
60
needs : [test, checkov, codeql, semgrep]
61
61
runs-on : ubuntu-latest
62
62
steps :
63
- - uses : actions/checkout@v3
63
+ - uses : actions/checkout@v4
64
64
-
uses :
" marvinpinto/[email protected] "
65
65
with :
66
66
repo_token : " ${{ secrets.GITHUB_TOKEN }}"
0 commit comments