oh-my-posh/.github/workflows/build_code.yml
2021-11-25 11:17:58 +01:00

29 lines
596 B
YAML

on:
pull_request:
paths-ignore:
- 'README.md'
- 'CONTRIBUTING.md'
- 'COPYING'
- 'docs/**'
- '.github/*.md'
- '.github/FUNDING.yml'
name: Build Code
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.17
- name: Checkout code
uses: actions/checkout@v2
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
distribution: goreleaser
version: latest
args: build --rm-dist --snapshot
workdir: src