Skip to content

Bump codecov/codecov-action from 4.5.0 to 4.6.0 (#50) #122

Bump codecov/codecov-action from 4.5.0 to 4.6.0 (#50)

Bump codecov/codecov-action from 4.5.0 to 4.6.0 (#50) #122

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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- 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@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
with:
file: ./coverage.out