Skip to content

ci: omit linter for processBlockGeneric #3

ci: omit linter for processBlockGeneric

ci: omit linter for processBlockGeneric #3

Workflow file for this run

name: Go
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
steps:
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: 1.21
- run: go version
- name: Checkout repository
uses: actions/checkout@v3
- name: Examine source code
run: go vet -v ./...
- name: Build
run: go build -v ./...
- name: Test
if: github.event_name == 'push'
run: go test -v -cover -coverprofile=coverage.txt -covermode=atomic ./...
- name: Upload coverage to Codecov
if: github.event_name == 'push'
run: bash <(curl -s https://codecov.io/bash)
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Update Go report card
if: github.event_name == 'push'
uses: creekorful/[email protected]