Skip to content

Bump actions/checkout from 4.1.7 to 4.2.1 #121

Bump actions/checkout from 4.1.7 to 4.2.1

Bump actions/checkout from 4.1.7 to 4.2.1 #121

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@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0
with:
file: ./coverage.out