Skip to content

Bump golang.org/x/crypto from 0.15.0 to 0.22.0 #3608

Bump golang.org/x/crypto from 0.15.0 to 0.22.0

Bump golang.org/x/crypto from 0.15.0 to 0.22.0 #3608

# Copyright © 2021 - 2023 SUSE LLC
# Licensed 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: "CodeQL"
env:
SETUP_GO_VERSION: '1.20.4'
on:
workflow_dispatch:
push:
branches: [main]
pull_request:
# The branches below must be a subset of the branches above
branches: [main]
# Do not trigger if only files matching the patterns below changed
paths-ignore:
- '**/*.md'
- '**/*.txt'
- 'docs/**'
- 'acceptance/**'
jobs:
analyse:
name: Analyse
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2
submodules: recursive
- name: Setup Go
uses: actions/setup-go@v4
timeout-minutes: 5
with:
go-version: ${{ env.SETUP_GO_VERSION }}
- name: Generate Golang
run: |
export PATH=$PATH:/home/runner/go/bin/
rm -rvf acceptance
rm -v $(find . -type f -name '*_test.go')
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
# Override language selection by uncommenting this and choosing your languages
with:
languages: go
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1