Upgrades #382
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: Running CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
lint: | |
name: Lint and fmt check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out source code | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: "go.mod" | |
- name: Linting and fmt check | |
run: make lint | |
build: | |
name: CI | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out source code | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: './go.mod' | |
- name: Start dependencies | |
run: make deps-start | |
- name: Running CI | |
run: make ci | |
- name: Codecov | |
uses: codecov/codecov-action@v5 | |
with: | |
fail_ci_if_error: true # optional (default = false) | |
files: ./coverage.txt | |
- name: Stop dependencies | |
run: make deps-stop |