-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (35 loc) · 1.29 KB
/
dev.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
name: Workflow for dev packages
on:
pull_request:
branches: [main]
jobs:
dev-package-ci:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Go 1.21.x 🐹
uses: actions/setup-go@v4
with:
go-version: '1.21.x'
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Grant execute permissions
run: chmod +x *
working-directory: ./scripts
- name: Run Unit tests
run: ./run-test.sh -u
working-directory: ./scripts
- name: Spin up external storage services
run: |
docker compose up -d postgres azure-blob-storage
- name: Install apt dependencies for integration test
run: |
sudo apt-get update
sudo apt-get install -y openssl opensc softhsm libssl-dev libengine-pkcs11-openssl
- name: Run Integration tests
run: sudo ./run-test.sh -i
working-directory: ./scripts
# Run static code analysis on source code
# Run vulnerability scanner and generate SBOMs on third part dependencies
# # Create build artifacts, e.g. Build docker image with dev tag for applications and push to container registry