Skip to content

fix(deps): update module golang.org/x/net to v0.23.0 [security] #1713

fix(deps): update module golang.org/x/net to v0.23.0 [security]

fix(deps): update module golang.org/x/net to v0.23.0 [security] #1713

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: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
args: --config .golangci.yml
version: v1.57
- name: Test
run: go test ./...
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build image - no push
id: dockerbuild
uses: docker/build-push-action@v5
with:
context: .
push: false
tags: ghcr.io/equinixmetal/ironlib:latest
- name: Scan image
id: scan
uses: anchore/scan-action@v3
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()