Skip to content

build(deps): bump actions/checkout from 6 to 7 in the github-actions group #1395

build(deps): bump actions/checkout from 6 to 7 in the github-actions group

build(deps): bump actions/checkout from 6 to 7 in the github-actions group #1395

Workflow file for this run

name: libovsdb-ci
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
name: Build & Unit Test
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v7
- name: Install tools
uses: jdx/mise-action@v4
- name: Generate Code
run: make prebuild
- name: Check generated files are up to date
run: make check-generated
# This cannot be run in parallel because we require running go-generate first
- name: Lint
run: make lint
- name: Build
run: make build
- name: Test
run: make test
- name: Test
run: make integration-test
- name: Generate coverage
run: make coverage
- name: Upload test coverage
uses: shogo82148/actions-goveralls@v1
continue-on-error: true
with:
path-to-profile: profile.cov
- name: Benchmark
run: make bench
- name: Restore Latest Main Benchmark
id: old-benchmark
uses: actions/cache@v5
with:
path: bench-main.out
key: benchmark-main-${{ hashfiles('**/*.go') }}
restore-keys: |
benchmark-main-
- name: Compare Benchmarks
if: hashFiles('bench-main.out') != ''
run: benchstat bench-main.out bench.out
- name: Create New Main Benchmark On Cache Miss
if: steps.old-benchmark.outputs.cache-hit != 'true' && github.ref == 'refs/heads/main'
run: cp -f bench.out bench-main.out
test:
name: Integration Test
needs: build
strategy:
matrix:
ovs_version:
- 3.7.1
- 3.6.3
- 3.5.4
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v7
- name: Install tools
uses: jdx/mise-action@v4
- name: Integration Test
run: make integration-test
env:
OVS_VERSION: ${{ matrix.ovs_version }}