kompose/.github/workflows/go.yml
dependabot[bot] 090d760bca
chore(ci)(deps): bump actions/checkout from 3 to 4 (#1704)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 17:04:27 +01:00

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@v4
with:
go-version: ^1.19
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Build
run: make bin
- name: Upload a Build Artifact
uses: actions/upload-artifact@v3
with:
name: "kompose"
path: "kompose"