forked from LaconicNetwork/kompose
* change master to main in scripts and docs Changes the naming from master to main in the scripts and documentation. Do not merge unless CI passes! Signed-off-by: Charlie Drage <charlie@charliedrage.com> * remove 1.18, specify version of staticcheck --------- Signed-off-by: Charlie Drage <charlie@charliedrage.com>
37 lines
630 B
YAML
37 lines
630 B
YAML
name: Go
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
branches: [ main ]
|
|
env:
|
|
# Avoid noisy outputs like "tput: No value for $TERM and no -T specified"
|
|
TERM: dumb
|
|
|
|
jobs:
|
|
|
|
build:
|
|
name: Build
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
|
|
- name: Set up Go 1.x
|
|
uses: actions/setup-go@v3
|
|
with:
|
|
go-version: ^1.19
|
|
id: go
|
|
|
|
- name: Check out code into the Go module directory
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Build
|
|
run: make bin
|
|
|
|
|
|
- name: Upload a Build Artifact
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: "kompose"
|
|
path: "kompose"
|