@@ -30,29 +30,26 @@ jobs:
30
30
31
31
steps :
32
32
- name : Checkout
33
- uses : actions/checkout@v2
33
+ uses : actions/checkout@v3
34
34
35
- - name : Setup python
36
- uses : actions/setup-python@v2
35
+ - uses : actions/setup-python@v4
37
36
with :
38
- python-version : " 3.9"
39
-
40
- - uses : actions/cache@v2
41
- with :
42
- path : ~/.cache/pip
43
- key : ${{ runner.os }}-pip-${{ hashFiles('backend/requirements.txt') }}-${{ hashFiles('cli/requirements.txt') }}-${{ hashFiles('tests/requirements.txt') }}
44
- restore-keys : |
45
- ${{ runner.os }}-pip-
46
-
47
- - name : Setup tests
48
- run : python tests/setup_forcad.py
37
+ python-version : " 3.11"
38
+ cache : " pip"
39
+ cache-dependency-path : |
40
+ cli/requirements.txt
41
+ tests/requirements.txt
42
+ backend/requirements.txt
49
43
50
44
- name : Install requirements
51
45
run : |
52
46
pip install -r cli/requirements.txt
53
47
pip install -r tests/requirements.txt
54
48
pip install -r backend/requirements.txt
55
49
50
+ - name : Setup tests
51
+ run : python tests/setup_forcad.py
52
+
56
53
- name : Setup ForcAD
57
54
run : ./control.py setup
58
55
@@ -79,12 +76,11 @@ jobs:
79
76
runs-on : ubuntu-22.04
80
77
steps :
81
78
- name : Checkout
82
- uses : actions/checkout@v2
79
+ uses : actions/checkout@v3
83
80
84
- - name : Setup python
85
- uses : actions/setup-python@v2
81
+ - uses : actions/setup-python@v4
86
82
with :
87
- python-version : " 3.9 "
83
+ python-version : " 3.11 "
88
84
89
85
- name : Install dependencies
90
86
run : pip install flake8
@@ -99,10 +95,10 @@ jobs:
99
95
runs-on : ubuntu-22.04
100
96
steps :
101
97
- name : Checkout
102
- uses : actions/checkout@v2
98
+ uses : actions/checkout@v3
103
99
104
100
- name : Set up Node 16
105
- uses : actions/setup-node@v2
101
+ uses : actions/setup-node@v3
106
102
with :
107
103
node-version : " 16"
108
104
@@ -123,25 +119,3 @@ jobs:
123
119
- name : Check the frontend compiles
124
120
working-directory : front
125
121
run : yarn build
126
-
127
- terraform_checks :
128
- runs-on : ubuntu-22.04
129
- defaults :
130
- run :
131
- working-directory : deploy/terraform
132
- steps :
133
- - name : Checkout
134
- uses : actions/checkout@v2
135
-
136
- - name : Setup Terraform
137
- uses : hashicorp/setup-terraform@v1
138
-
139
- - name : Terraform fmt
140
- run : terraform fmt -check
141
- continue-on-error : true
142
-
143
- - name : Terraform Init
144
- run : terraform init
145
-
146
- - name : Terraform Validate
147
- run : terraform validate
0 commit comments