mirror of
https://github.com/evanw/esbuild.git
synced 2026-03-26 22:28:33 +00:00
31 lines
589 B
YAML
31 lines
589 B
YAML
name: Validate release builds
|
|
|
|
on:
|
|
push:
|
|
tags: ['v*']
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read # to fetch code (actions/checkout)
|
|
|
|
jobs:
|
|
release:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Read go.version
|
|
run: |
|
|
echo "GO_VERSION=$(cat go.version)" >> $GITHUB_ENV
|
|
|
|
- name: Set up Go 1.x
|
|
uses: actions/setup-go@v3
|
|
with:
|
|
go-version: ${{ env.GO_VERSION }}
|
|
id: go
|
|
|
|
- name: Validation checks
|
|
run: |
|
|
make validate-builds
|