Skip to content

Commit ea4e7df

Browse files
authored
Merge pull request #142 from per1234/linux-conditional
Avoid workflow conditional reliance on specific runner
2 parents 8283fff + b4b8b9d commit ea4e7df

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

workflow-templates/dependabot/workflow-template-copies/.github/workflows/test-go-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
run: task go:test
6969

7070
- name: Send unit tests coverage to Codecov
71-
if: matrix.operating-system == 'ubuntu-latest'
71+
if: runner.os == 'Linux'
7272
uses: codecov/codecov-action@v2
7373
with:
7474
file: ${{ matrix.module.path }}coverage_unit.txt

workflow-templates/test-go-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
run: task go:test
6969

7070
- name: Send unit tests coverage to Codecov
71-
if: matrix.operating-system == 'ubuntu-latest'
71+
if: runner.os == 'Linux'
7272
uses: codecov/codecov-action@v2
7373
with:
7474
file: ${{ matrix.module.path }}coverage_unit.txt

0 commit comments

Comments
 (0)