Skip to content

BREAKING CHANGE: Better path naming, joining with lib, env vars change for data and log #11

BREAKING CHANGE: Better path naming, joining with lib, env vars change for data and log

BREAKING CHANGE: Better path naming, joining with lib, env vars change for data and log #11

Workflow file for this run

name: Testing CI
on:
pull_request:
branches: ["main"]
paths:
- ".github/workflows/testingci.yml" # this file
- "go.mod"
- "go.sum"
- "Makefile"
- "generate/**/*"
- "src/**/*"
schedule:
- cron: "37 13 * * *"
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: stable
# go:generate
- name: Generate go code from go:generate comments
run: make install
# go:build
- name: Build project
run: make build
# go:test
- name: Test units
run: make test
lint:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: stable
# go:generate
- name: Generate go code from go:generate comments
run: make install
# lint
- uses: golangci/golangci-lint-action@v3
with:
version: latest
skip-pkg-cache: true
args: --timeout=5m