Skip to content

fix(tern): Fix conflicts with go.mod #154

fix(tern): Fix conflicts with go.mod

fix(tern): Fix conflicts with go.mod #154

Workflow file for this run

name: CI
on: push
jobs:
lint:
strategy:
matrix:
go-version: [1.23.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
cache: true
cache-dependency-path: |
**/go.sum
internal/tool/go.sum
- name: Lint
run: make lint
test:
strategy:
matrix:
go-version: [1.23.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
cache: true
cache-dependency-path: |
**/go.sum
internal/tool/go.sum
- name: Test
run: make test
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}