Version 2.0.0 Prerelease 4 #2
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: testing | |
on: | |
push: | |
branches: | |
- master | |
- fix/* | |
- feat/* | |
pull_request: | |
branches: | |
- master | |
jobs: | |
static-analysis: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Execute go vet | |
run: | | |
make vet | |
- name: Execute golangci-lint | |
run: | | |
make golangci-lint | |
# - name: Execute errcheck | |
# run: | | |
# make errcheck | |
testing: | |
runs-on: ubuntu-latest | |
needs: static-analysis | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- run: git fetch --force --tags | |
# - uses: actions/setup-go@v3 | |
# with: | |
# go-version: ^1.22 | |
# cache: true | |
- name: Execute unit tests | |
run: | | |
make unit-test |