modify bullet point #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Workflow for pre-release packages | |
on: | |
push: | |
branches: [main] | |
jobs: | |
pre-release-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: Grant execute permissions | |
run: chmod +x * | |
working-directory: ./scripts | |
- name: Run Unit tests | |
run: ./run-test.sh -u | |
working-directory: ./scripts | |
# Spin up integration environment (docker-compose or public hyper scaler infrastructure) | |
- 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 pre-release tag for applications, scan docker image and push to container registry |