Skip to content

Bump github.com/spf13/cobra from 1.9.1 to 1.10.1 in /services #75

Bump github.com/spf13/cobra from 1.9.1 to 1.10.1 in /services

Bump github.com/spf13/cobra from 1.9.1 to 1.10.1 in /services #75

Workflow file for this run

# SPDX-FileCopyrightText: 2025 Eyad Issa <eyadlorenzo@gmail.com>
#
# SPDX-License-Identifier: AGPL-3.0-only
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
go-importer:
name: "Build & Test Go services"
runs-on: ubuntu-latest
env:
WDIR: services/
steps:
- uses: actions/checkout@v4
- name: Install pcap-dev
run: |
sudo apt-get update && \
sudo apt-get install -y libpcap-dev
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.24"
cache-dependency-path: "**/*.sum"
- name: Install dependencies
run: go mod download -x
working-directory: ${{ env.WDIR }}
- name: Build
run: go build -v ./...
working-directory: ${{ env.WDIR }}
- name: Run tests
run: go test -v ./...
working-directory: ${{ env.WDIR }}
frontend:
name: Frontend
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "current"
- name: Enable corepack
run: corepack enable
- name: Install dependencies
run: yarn install
working-directory: frontend
- name: Build
run: yarn build
working-directory: frontend
compose:
name: Compose
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Copy .env file
run: cp .env.example .env
- name: Build and push Docker images
run: |
docker compose build --pull