Skip to content

feat(data): explicit opt-in #15

feat(data): explicit opt-in

feat(data): explicit opt-in #15

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
pull-requests: read
jobs:
go-unit-tests:
name: Go tests
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Install gotestsum
run: go install gotest.tools/gotestsum@latest
- name: Build
run: go build -v ./cmd/revchat
- name: Test
run: gotestsum -f github-actions
- name: Lint
uses: golangci/golangci-lint-action@v8 # https://github.com/golangci/golangci-lint-action
with:
version: v2.3.0 # https://github.com/golangci/golangci-lint/releases
args: --timeout=5m # https://github.com/golangci/golangci-lint-action/issues/308