Skip to content

Part2: gerrit-translator-cdevents : translate patchset and change source code events #9

Part2: gerrit-translator-cdevents : translate patchset and change source code events

Part2: gerrit-translator-cdevents : translate patchset and change source code events #9

Workflow file for this run

name: CI
on:
pull_request:
types:
- "opened"
- "synchronize"
paths-ignore:
- "README.md"
- ".gitignore"
jobs:
lint:
runs-on: ubuntu-latest
env:
GOPATH: /home/runner/go
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.21
- name: golangci-lint
uses: golangci/golangci-lint-action@v4
with:
version: v1.54
test:
runs-on: ubuntu-latest
env:
GOPATH: /home/runner/go
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.21
- name: Test
run: go test -v ./...
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3