Skip to content

README.md: updated badge url #24

README.md: updated badge url

README.md: updated badge url #24

Workflow file for this run

name: Run Tests
on: [ push ]
jobs:
test:
runs-on: ubuntu-22.04
strategy:
matrix:
go: [ '1.18', '1.19', '1.20', '1.21', '1.22' ]
name: Go ${{ matrix.go }} sample
steps:
- uses: actions/checkout@v3
with:
fetch-depth: '0'
- name: Setup go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
- name: Run tests
run: make test
- name: Upload test coverage to Codecov
uses: codecov/codecov-action@v4
if: matrix.go == '1.18'
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.txt
fail_ci_if_error: true
verbose: true
- name: Run examples
run: make test.examples
- name: Run linter
run: make lint
- name: Run vulnerabilities scan
run: make scan