oh-my-posh/.github/workflows/build_code.yml
2022-09-14 08:49:42 +02:00

30 lines
753 B
YAML

on:
pull_request:
paths-ignore:
- 'README.md'
- 'CONTRIBUTING.md'
- 'COPYING'
- 'website/**'
- '.github/*.md'
- '.github/FUNDING.yml'
name: Build Code
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
shell: pwsh
steps:
- name: Checkout code 👋
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
- name: Install Go 🗳
uses: ./.github/workflows/composite/bootstrap-go
- name: Run GoReleaser 🚀
uses: goreleaser/goreleaser-action@ff11ca24a9b39f2d36796d1fbd7a4e39c182630a
with:
distribution: goreleaser
version: latest
args: build --rm-dist --snapshot --skip-post-hooks --skip-before
workdir: src