Adding first code #4
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: "Argo-rollout-config-keeper CI: pull-request to master" | |
on: | |
pull_request: | |
branches: | |
- master | |
paths-ignore: | |
- '.github/**' | |
- 'hack/**' | |
- 'README.md' | |
- 'Makefile' | |
- 'Dockerfile' | |
- 'PROJECT' | |
- '.gitignore' | |
- '.dockerignore' | |
- '.golangci.yml' | |
jobs: | |
ci-pull-request-to-master: | |
name: CI - pull-request to master | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22.3' | |
- name: Install dependencies | |
run: | | |
go mod tidy | |
go mod vendor | |
- name: Make fmt | |
run: make fmt | |
- name: Make lint | |
run: make lint | |
- name: Make test | |
run: make test |