This repository has been archived by the owner on Mar 19, 2024. It is now read-only.
Upgrade sdk to rc10 #351
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: Builds | |
on: | |
pull_request: | |
branches: | |
- master | |
- 'support/*' | |
types: [ opened, synchronize ] | |
paths-ignore: | |
- '**/*.md' | |
jobs: | |
build_cli: | |
name: Build CLI | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup Go | |
uses: actions/setup-go@v4 | |
with: | |
cache: true | |
go-version: '1.20' | |
- name: Update Go modules | |
run: make dep | |
- name: Build CLI | |
run: make | |
- name: Check version | |
run: if [[ $(make version) == *"dirty"* ]]; then exit 1; fi | |
build_image: | |
needs: build_cli | |
name: Build Docker image | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
cache: true | |
go-version: '1.20' | |
- name: Update Go modules | |
run: make dep | |
- name: Build Docker image | |
run: make image |