Skip to content

Echo Recover middleware LogError functions #140

Echo Recover middleware LogError functions

Echo Recover middleware LogError functions #140

Workflow file for this run

name: test
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
jobs:
test:
strategy:
matrix:
go-version:
- '1.21.x'
- '1.22.x'
- '1.23.x'
platform: [ubuntu-latest]
name: test
runs-on: ${{ matrix.platform }}
steps:
- name: checkout the code
uses: actions/checkout@v4
- name: setup go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: unshallow
run: git fetch --prune --unshallow
- name: golanci-linter
uses: golangci/golangci-lint-action@v6
with:
version: v1.60.3
- name: run unit tests
run: make test
- name: upload code coverage
uses: codecov/codecov-action@v4
if: contains(github.ref, 'main')
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./cover.out