Skip to content

build(deps): bump github.com/spf13/viper from 1.19.0 to 1.20.0 in the gomod group #25

build(deps): bump github.com/spf13/viper from 1.19.0 to 1.20.0 in the gomod group

build(deps): bump github.com/spf13/viper from 1.19.0 to 1.20.0 in the gomod group #25

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
jobs:
build-and-test:
name: Build and test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Go
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
with:
go-version-file: '.go-version'
- name: Build
run: make GOFLAGS="-v" build
- name: Test
run: make GOFLAGS="-v" test
- name: Check diff
run: make check-diff
license-check:
name: License check
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Go
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
with:
go-version-file: '.go-version'
- name: Cache licenses
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
with:
key: licensei-v2-${{ hashFiles('go.sum') }}
path: |
.licensei.cache
restore-keys: |
licensei-v2
- name: Download license information for dependencies
env:
GITHUB_TOKEN: ${{ github.token }}
run: make license-cache
- name: Check licenses
env:
GITHUB_TOKEN: ${{ github.token }}
run: make license-check
artifacts:
name: Artifacts
uses: kube-logging/logging-operator/.github/workflows/[email protected]
with:
version: "latest"
publish: ${{ github.event_name == 'push' }}
permissions:
contents: read
packages: write
id-token: write
security-events: write