[STRMCMP-1659] k8s v1.24 upgrade #235
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: checks | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
unit-tests: | |
runs-on: ubuntu-22.04 | |
defaults: | |
run: | |
working-directory: go/src/github.com/lyft/flinkk8soperator | |
env: | |
GOPATH: "/home/runner/work/flinkk8soperator/flinkk8soperator/go/" | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 1 | |
path: go/src/github.com/lyft/flinkk8soperator | |
- name: install go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: "1.20" | |
- name: test | |
run: make test_unit | |
lint: | |
runs-on: ubuntu-22.04 | |
defaults: | |
run: | |
working-directory: go/src/github.com/lyft/flinkk8soperator | |
env: | |
GOPATH: "/home/runner/work/flinkk8soperator/flinkk8soperator/go/" | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 1 | |
path: go/src/github.com/lyft/flinkk8soperator | |
- name: install go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: "1.20" | |
- name: test | |
run: make lint | |
integration-tests: | |
runs-on: ubuntu-22.04 | |
defaults: | |
run: | |
working-directory: go/src/github.com/lyft/flinkk8soperator | |
env: | |
GOPATH: "/home/runner/work/flinkk8soperator/flinkk8soperator/go/" | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 1 | |
path: go/src/github.com/lyft/flinkk8soperator | |
- name: install go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: "1.20" | |
- name: install | |
run: integ/install.sh | |
- name: setup | |
run: integ/setup.sh | |
- name: test | |
run: PATH=$PATH GOPATH=$GOPATH integ/test.sh |