This repository was archived by the owner on Apr 17, 2025. It is now read-only.
Bump goreleaser/goreleaser-action from 5.0.0 to 6.1.0 #758
Workflow file for this run
This file contains hidden or 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: test-and-build | |
on: | |
pull_request: {} | |
workflow_call: {} | |
jobs: | |
unit-test: | |
name: Unit tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 #v4.1.2 | |
with: | |
fetch-depth: 0 | |
- name: Setup build environment | |
uses: ./.github/actions/setup-build | |
- name: Unit test | |
run: | | |
PATH=$PATH:$(go env GOPATH)/bin make build | |
PATH=$PATH:$(go env GOPATH)/bin make unit-test-no-generate | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 #v4.1.2 | |
with: | |
fetch-depth: 0 | |
- name: Setup build environment | |
uses: ./.github/actions/setup-build | |
- name: Lint | |
run: | | |
PATH=$PATH:$(go env GOPATH)/bin make lint | |
image: | |
name: Build and check image | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 #v4.1.2 | |
with: | |
fetch-depth: 0 | |
- name: Setup build environment | |
uses: ./.github/actions/setup-build | |
- name: build | |
run: | | |
PATH=$PATH:$(go env GOPATH)/bin make -f Makefile.docker check-build-image-manifest-up-to-date |