Skip to content

fix(deps): update module github.com/stretchr/testify to v1.10.0 #2121

fix(deps): update module github.com/stretchr/testify to v1.10.0

fix(deps): update module github.com/stretchr/testify to v1.10.0 #2121

Workflow file for this run

name: lint, test and build image
on: [pull_request, push]
jobs:
lint-test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v6
with:
args: --config .golangci.yml --timeout 2m
version: v1.61.0
- name: Check go generated files
run: make check-go-generated
- name: Run go tests
run: sudo ENABLE_PRIV_TESTS=true make go-test
- name: Set up docker buildx
uses: docker/setup-buildx-action@v3
- name: Build image - no push
id: dockerbuild
uses: docker/build-push-action@v6
with:
context: .
push: false
tags: ghcr.io/equinixmetal/ironlib:latest
- name: Scan image
id: scan
uses: anchore/scan-action@v4
with:
image: ghcr.io/equinixmetal/ironlib:latest
acs-report-enable: true
# TODO(jaosorior): Fail build once we migrate off CentOS.
fail-build: false
- name: Inspect action SARIF report
run: cat ${{ steps.scan.outputs.sarif }}
# This should run even if we fail the container scan
if: always()