oh-my-posh/.github/workflows/artifacts.yml

38 lines
791 B
YAML
Raw Normal View History

2021-06-17 22:02:52 -07:00
on:
pull_request:
paths-ignore:
- 'README.md'
- 'CONTRIBUTING.md'
- 'COPYING'
- 'docs/**'
- '.github/*.md'
- '.github/FUNDING.yml'
name: Build Code
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
goarch: [amd64]
include:
- os: ubuntu-latest
goarch: arm
- os: windows-latest
goarch: 386
runs-on: ${{ matrix.os }}
defaults:
run:
working-directory: ${{ github.workspace }}/src
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.16
- name: Checkout code
uses: actions/checkout@v2
- name: Build
run: go build
env:
GOARCH: ${{ matrix.goarch }}