upgrade Zed to 1d67316cf6191d4ceed81af13adff947ab5a6fbd #2701
This file contains 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: CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
tags: | |
- v* | |
workflow_call: | |
inputs: | |
ref: | |
required: true | |
type: string | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-latest, ubuntu-latest, windows-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ inputs.ref || github.ref }} | |
- uses: actions/setup-go@v3 | |
with: | |
go-version-file: go.mod | |
- run: make fmt | |
- run: make tidy | |
- run: make vet | |
- run: make test | |
- run: make ztest | |
- run: make release | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ matrix.os }} | |
path: build/brimcap-*.zip | |
- if: startsWith(github.event.ref, 'refs/tags/') | |
uses: svenstaro/upload-release-action@v2 | |
with: | |
file: build/brimcap-*.zip | |
file_glob: true | |
overwrite: true |