Skip to content

gomod(deps): bump github.com/google/uuid from 1.3.0 to 1.6.0 #76

gomod(deps): bump github.com/google/uuid from 1.3.0 to 1.6.0

gomod(deps): bump github.com/google/uuid from 1.3.0 to 1.6.0 #76

name: Serverless verify
on:
push:
branches: [ "main", "release-*" ]
pull_request:
paths-ignore:
- 'docs/**'
- 'examples/**'
types:
- opened
- reopened
- synchronize
- ready_for_review
- converted_to_draft
jobs:
#pre-serverless-controller-lint
serverless-lint:
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: libgit2 installation
run: git clone https://github.com/libgit2/libgit2.git && cd libgit2 && git checkout v1.5.2 && cmake . && sudo make install
- uses: golangci/golangci-lint-action@v3
with:
version: latest
working-directory: 'components/serverless'
#pre-serverless-controller-unit-test
serverless-unit-tests:
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- name: install libssh2
run: sudo apt update && sudo apt install libssh2-1-dev -y
- name: libgit2 installation
run: |
git clone https://github.com/libgit2/libgit2.git
cd libgit2
git checkout v1.5.2
cmake . -DBUILD_TESTS=OFF -DBUILD_CLI=OFF -DUSE_SSH=ON
sudo make install
sudo ldconfig
- uses: actions/checkout@v4
- name: run test
run: make -C components/serverless test