Skip to content

Merge pull request #191 from rancher/dependabot/github_actions/docker… #179

Merge pull request #191 from rancher/dependabot/github_actions/docker…

Merge pull request #191 from rancher/dependabot/github_actions/docker… #179

Workflow file for this run

name: Build
on:
pull_request:
push:
branches:
- master
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: 1.19.x
- uses: actions/cache@v3.3.1
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-build-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-build-go-${{ hashFiles('**/go.sum') }}
- name: Build
run: make operator