Skip to content

Merge pull request #75 from mercadopago/feature/add-response-external… #261

Merge pull request #75 from mercadopago/feature/add-response-external…

Merge pull request #75 from mercadopago/feature/add-response-external… #261

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "**" ]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.21'
cache: false
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.55.2
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.21'
cache: false
- name: Test
uses: robherley/[email protected]
with:
testArguments: './pkg/... -coverprofile=./cover.out'
- name: Check coverage
uses: vladopajic/go-test-coverage@v2
if: always()
with:
config: ./.testcoverage.yml