Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

COSI-44: update-go-packages #106

COSI-44: update-go-packages

COSI-44: update-go-packages #106

name: CI Build and Unit Tests
on:
push:
branches:
- '**'
jobs:
test:
name: unit-tests-with-ginkgo
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.23.2
# Install Ginkgo CLI
- name: Install Ginkgo CLI
run: go install github.com/onsi/ginkgo/v2/ginkgo@latest
- name: Install dependencies
run: go mod tidy
- name: Run tests
run: make test
dev-container-build:
permissions:
contents: read
packages: write
uses: scality/workflows/.github/workflows/docker-build.yaml@v2
with:
context: .
name: cosi
namespace: ${{ github.repository_owner }}
tag: ${{ github.sha }}