mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-18 08:54:04 -08:00
30 lines
753 B
YAML
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
|