Add new checks to fix enhance deployment #686
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
# Continues integration workflow to continuously check | |
# code quality and run tests before merging PRs | |
name: CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
env: | |
IS_CI: true | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22.2 | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: make install | |
- name: Run Go linters | |
uses: golangci/golangci-lint-action@v4 | |
with: | |
version: v1.57.2 | |
skip-cache: true | |
tests: | |
runs-on: ubuntu-latest | |
env: | |
IS_CI: true | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22.2 | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: make install | |
- name: Build project | |
run: make build | |
- name: Run Go tests | |
run: go test -race -covermode=atomic -coverpkg=all -coverprofile=coverage.out ./... |