Skip to content

Adding first code

Adding first code #4

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