Skip to content

Renovate: Update External dependencies #225

Renovate: Update External dependencies

Renovate: Update External dependencies #225

Workflow file for this run

################################################################################
# This file is AUTOGENERATED with <https://github.com/sapcc/go-makefile-maker> #
# Edit Makefile.maker.yaml instead. #
################################################################################
# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company
# SPDX-License-Identifier: Apache-2.0
name: CI
"on":
push:
branches:
- master
paths-ignore:
- '**.md'
pull_request:
branches:
- '*'
paths-ignore:
- '**.md'
workflow_dispatch: {}
permissions:
contents: read
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v5
- name: Set up Go
uses: actions/setup-go@v6
with:
check-latest: true
go-version: 1.25.1
code_coverage:
name: Code coverage report
if: github.event_name == 'pull_request'
needs:
- test
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v5
- name: Post coverage report
uses: fgrosse/go-coverage-report@v1.2.0
with:
coverage-artifact-name: code-coverage
coverage-file-name: cover.out
permissions:
actions: read
contents: read
pull-requests: write
test:
name: Test
needs:
- build
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v5
- name: Set up Go
uses: actions/setup-go@v6
with:
check-latest: true
go-version: 1.25.1
- name: Run tests and generate coverage report
run: make build/cover.out
- name: Archive code coverage results
uses: actions/upload-artifact@v4
with:
name: code-coverage
path: build/cover.out