Skip to content

Bump golang.org/x/net from 0.57.0 to 0.58.0 in the golang-x group across 1 directory #102

Bump golang.org/x/net from 0.57.0 to 0.58.0 in the golang-x group across 1 directory

Bump golang.org/x/net from 0.57.0 to 0.58.0 in the golang-x group across 1 directory #102

Workflow file for this run

# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: Security Scan
on:
push:
branches:
- master
- main
paths:
- 'go.mod'
- 'go.sum'
- '**.go'
pull_request:
branches:
- master
- main
paths:
- 'go.mod'
- 'go.sum'
schedule:
# Weekly scan so newly disclosed vulnerabilities are caught even
# without code changes.
- cron: '0 3 * * 1'
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
govulncheck:
name: govulncheck
runs-on: ubuntu-latest
timeout-minutes: 20
if: github.repository == 'apache/dubbo-kubernetes'
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache-dependency-path: go.sum
- name: Run govulncheck
run: |
go install golang.org/x/vuln/cmd/govulncheck@latest
python3 tools/govulncheck.py ./...