Skip to content
This repository has been archived by the owner on Feb 11, 2025. It is now read-only.

Add archiving note (#5) #17

Add archiving note (#5)

Add archiving note (#5) #17

Workflow file for this run

name: CI
on:
pull_request: {}
push:
branches:
- main
jobs:
checks:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: setup-go
uses: actions/setup-go@v5
with:
go-version: '1.23'
- name: unit-tests
run: |
go test ./... -coverprofile=$GITHUB_WORKSPACE/coverage.out
cat $GITHUB_WORKSPACE/coverage.out | grep -v "query/parser.gen.go" | grep -v "query/ast.go:81" > $GITHUB_WORKSPACE/coverage_filtered.out
go tool cover -func=coverage_filtered.out
- name: install-goveralls
run: |
go install github.com/mattn/goveralls@latest
- name: submit-coverage
run: $(go env GOPATH)/bin/goveralls -service="github" -coverprofile=$GITHUB_WORKSPACE/coverage_filtered.out
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.62.0