Skip to content

Continuous Integration #22

Continuous Integration

Continuous Integration #22

Workflow file for this run

---
name: Continuous Integration
on:
push:
branches:
- master
pull_request:
jobs:
lint:
runs-on: ubuntu-22.04
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- run: go version
- run: echo "::add-matcher::.github/matchers/golangci-lint.json"
- run: make lint
test:
runs-on: ubuntu-22.04
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- run: go version
- run: echo "::add-matcher::.github/matchers/testify.json"
- run: make test
- name: Upload coverage reports to Codecov
if: success()
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}