Skip to content

Commit 6be55b5

Browse files
Check if CI workflow is fixed
Signed-off-by: Lukasz Gryglicki <[email protected]>
1 parent e3b77bb commit 6be55b5

File tree

3 files changed

+23
-26
lines changed

3 files changed

+23
-26
lines changed

.github/workflows/build-pr.yml

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,21 @@ jobs:
2222
runs-on: ubuntu-latest
2323
environment: dev
2424
steps:
25-
- uses: actions/checkout@v3
25+
- uses: actions/checkout@v4
2626
- name: Setup go
27-
uses: actions/setup-go@v3
27+
uses: actions/setup-go@v5
2828
with:
29-
go-version: '1.20.1'
29+
go-version: '1.22'
3030
- name: Go Version
3131
run: go version
3232
- name: Setup Node
33-
uses: actions/setup-node@v3
33+
uses: actions/setup-node@v4
3434
with:
35-
node-version: '18'
35+
node-version: '20'
3636
- name: Setup python
37-
uses: actions/setup-python@v4
37+
uses: actions/setup-python@v5
3838
with:
39-
python-version: '3.8'
39+
python-version: '3.11'
4040
cache: 'pip'
4141
- name: Cache Go modules
4242
uses: actions/cache@v2
@@ -77,7 +77,7 @@ jobs:
7777
python -m venv .venv
7878
source .venv/bin/activate
7979
pip install --upgrade pytest py pytest-cov pytest-clarity
80-
pytest "cla/tests" -p no:warnings || true
80+
pytest "cla/tests" -p no:warnings
8181
env:
8282
PLATFORM_GATEWAY_URL: https://api-gw.dev.platform.linuxfoundation.org
8383
AUTH0_PLATFORM_URL: https://linuxfoundation-dev.auth0.com/oauth/token
@@ -87,17 +87,15 @@ jobs:
8787

8888
- name: Go Setup
8989
working-directory: cla-backend-go
90-
run: |
91-
make clean setup
90+
run: make clean setup
9291

9392
- name: Go Dependencies
9493
working-directory: cla-backend-go
9594
run: make deps
9695

9796
- name: Go Swagger Generate
9897
working-directory: cla-backend-go
99-
run: |
100-
make swagger
98+
run: make swagger
10199

102100
- name: Go Build
103101
working-directory: cla-backend-go
@@ -106,8 +104,7 @@ jobs:
106104
107105
- name: Go Test
108106
working-directory: cla-backend-go
109-
run: |
110-
make test
107+
run: make test
111108

112109
- name: Go Lint
113110
working-directory: cla-backend-go

.github/workflows/deploy-dev.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
python -m venv .venv
9090
source .venv/bin/activate
9191
pip install --upgrade pytest py pytest-cov pytest-clarity
92-
pytest "cla/tests" -p no:warnings || true
92+
pytest "cla/tests" -p no:warnings
9393
env:
9494
PLATFORM_GATEWAY_URL: https://api-gw.dev.platform.linuxfoundation.org
9595
AUTH0_PLATFORM_URL: https://linuxfoundation-dev.auth0.com/oauth/token
@@ -118,8 +118,7 @@ jobs:
118118
119119
- name: Go Test
120120
working-directory: cla-backend-go
121-
run: |
122-
make test
121+
run: make test
123122

124123
- name: Go Lint
125124
working-directory: cla-backend-go
@@ -138,7 +137,6 @@ jobs:
138137
cp ../cla-backend-go/bin/zipbuilder-lambda bin/
139138
cp ../cla-backend-go/bin/gitlab-repository-check-lambda bin/
140139
141-
142140
- name: EasyCLA v1 Deployment us-east-1
143141
working-directory: cla-backend
144142
run: |

.github/workflows/deploy-prod.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,22 +24,21 @@ jobs:
2424
runs-on: ubuntu-latest
2525
environment: prod
2626
steps:
27-
- uses: actions/checkout@v3
27+
- uses: actions/checkout@v4
2828
- name: Setup go
29-
uses: actions/setup-go@v3
29+
uses: actions/setup-go@v5
3030
with:
31-
go-version: '1.20.1'
32-
check-latest: true
31+
go-version: '1.22'
3332
- name: Go Version
3433
run: go version
3534
- name: Setup Node
36-
uses: actions/setup-node@v3
35+
uses: actions/setup-node@v4
3736
with:
38-
node-version: '18'
37+
node-version: '20'
3938
- name: Setup python
40-
uses: actions/setup-python@v4
39+
uses: actions/setup-python@v5
4140
with:
42-
python-version: '3.8'
41+
python-version: '3.11'
4342
cache: 'pip'
4443
- name: Configure AWS Credentials
4544
uses: aws-actions/configure-aws-credentials@v4
@@ -67,6 +66,8 @@ jobs:
6766
- name: Python Setup
6867
working-directory: cla-backend
6968
run: |
69+
python -m venv .venv
70+
source .venv/bin/activate
7071
pip install --upgrade pip
7172
pip install -r requirements.txt
7273
@@ -117,6 +118,7 @@ jobs:
117118
if [[ ! -f serverless.yml ]]; then echo "Missing serverless.yml file. Exiting..."; exit 1; fi
118119
if [[ ! -f serverless-authorizer.yml ]]; then echo "Missing serverless-authorizer.yml file. Exiting..."; exit 1; fi
119120
yarn sls deploy --force --stage ${STAGE} --region us-east-1 --verbose
121+
120122
- name: EasyCLA v1 Service Check
121123
run: |
122124
sudo apt install curl jq -y

0 commit comments

Comments
 (0)