Skip to content

Bump codecov/codecov-action from 4.6.0 to 5.0.7 #134

Bump codecov/codecov-action from 4.6.0 to 5.0.7

Bump codecov/codecov-action from 4.6.0 to 5.0.7 #134

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '1.23', '1.22', '1.21' ]
tags: [ 'strftime_native_errors', '' ]
fail-fast: false
name: "Go ${{ matrix.go }} test (tags: ${{ matrix.tags }})"
steps:
- name: Checkout repository
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Install Go stable version
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: ${{ matrix.go }}
- name: Test with coverage
run: make STRFTIME_TAGS=${{ matrix.tags }} cover
- name: Upload code coverage to codecov
if: matrix.go == '1.23'
uses: codecov/codecov-action@015f24e6818733317a2da2edd6290ab26238649a # v5.0.7
with:
file: ./coverage.out