Skip to content

Update module github.com/prometheus/client_golang to v1.21.1 #255

Update module github.com/prometheus/client_golang to v1.21.1

Update module github.com/prometheus/client_golang to v1.21.1 #255

name: "CodeQL"
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: '15 10 * * 3'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
if: github.repository == 'dohq/dockerhub_ratelimit_exporter'
strategy:
fail-fast: false
matrix:
language: [ 'go' ]
steps:
- name: "Checkout repository"
uses: actions/checkout@v4
- name: "Initialize CodeQL"
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- name: "Set up Go"
uses: actions/setup-go@v5
with:
go-version: 1.15
- name: "Cache Go modules"
uses: actions/[email protected]
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: "Autobuild"
uses: github/codeql-action/autobuild@v3
- name: "Perform CodeQL Analysis"
uses: github/codeql-action/analyze@v3