test: Refactor smoke tests and add improve nightly workflow #3417
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pull Request | |
on: pull_request | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: 'stable' | |
- run: go version | |
- run: make deps | |
- name: Check docs | |
run: make docs-check | |
- name: Lint | |
run: make lint | |
- name: Unit tests | |
run: make unit-test | |
- name: Vet | |
run: make vet | |
- name: Tidy | |
run: go mod tidy | |
- name: Fail if changes | |
run: git diff-index --exit-code HEAD |