Fix & mention local targets, and remove quay username prefix (#790) #2994
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: ci-build | |
on: | |
push: | |
branches: | |
- master | |
tags-ignore: | |
- '*.*' | |
pull_request: | |
branches: | |
- master | |
jobs: | |
golangci: | |
name: GolangCI Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.19.x | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: v1.52.0 | |
skip-pkg-cache: true | |
skip-build-cache: true | |
args: --config=./.golangci.yml --verbose | |
unit-tests: | |
name: Unit Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.19.x | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Unit Tests | |
run: | | |
make test |