Bump jandelgado/gcov2lcov-action from 1.0.9 to 1.1.0 #1244
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [ pull_request ] | |
name: Unittests | |
jobs: | |
test: | |
strategy: | |
matrix: | |
go-version: [ "1.22.x", "1.23.x" ] | |
os: [ ubuntu-latest ] | |
use_private_example_data_submodule: [ "true", "false" ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Checkout code AND submodule | |
if: matrix.use_private_example_data_submodule == 'true' | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.workflow_run.head_branch }} | |
token: ${{secrets.EXAMPLE_DATA_SUBMODULE_PAT}} # expires 2025-08-01 | |
# https://github.com/Hochfrequenz/go-bo4e/settings/secrets/actions/EXAMPLE_DATA_SUBMODULE_PAT | |
# PAT has repo scope | |
submodules: "recursive" | |
- name: Checkout code without submodule | |
if: matrix.use_private_example_data_submodule == 'false' | |
uses: actions/checkout@v4 | |
- name: Test | |
run: go test ./... |