Remove probe and lint subcommands and packages #83
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
on: | |
pull_request: | |
branches: [ main ] | |
push: | |
branches: [ main ] | |
permissions: | |
contents: read | |
name: build-test | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- name: Set up Go | |
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5 | |
with: | |
go-version: 1.20.x | |
- run: go env | |
# - name: go lint | |
# run: make lint-go | |
- name: go build | |
run: go build -v ./... | |
- name: go test | |
run: go test -v ./... | |
- name: build catalog-cd | |
run: go build -o catalog-cd -v . | |
- name: Upload catalog-cd binary | |
uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0 | |
with: | |
name: catalog-cd-bin | |
path: catalog-cd |