Skip to content

test(tagsl): corrected port 4 overflowing example #212

test(tagsl): corrected port 4 overflowing example

test(tagsl): corrected port 4 overflowing example #212

Workflow file for this run

name: CI 🚧
on:
push:
paths:
- '**.go'
- '**.md'
- '**.mod'
jobs:
test:
name: Test 🧪
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.22
- name: Generate test coverage
env:
ENV: test
run: go test ./... -coverprofile=./cover.out -covermode=atomic -coverpkg=./...
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: Check test coverage
uses: vladopajic/go-test-coverage@v2
with:
# Configure action using config file (option 1)
config: ./.testcoverage.yml
profile: cover.out
local-prefix: github.com/truvami/decoder
threshold-file: 75
threshold-package: 80
threshold-total: 80
- name: Lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.58
- name: Run JSON tags camelCase check
run: make check-json-tags