Upgrade improvements - Only upgrade artifacts and services if there is an upgrade avilable #1187
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: build-and-unit-test | |
on: | |
push: | |
tags: | |
- v* | |
branches: | |
- main | |
pull_request: | |
paths: | |
- '**' | |
permissions: | |
contents: read | |
pull-requests: read | |
jobs: | |
build: | |
name: build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: "1.23" | |
check-latest: true | |
cache: true | |
- name: build application | |
run: make build-cross-platform | |
test: | |
name: unit-test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: "1.23" | |
check-latest: true | |
cache: true | |
- name: build application | |
run: make test |