Skip to content

Merge pull request #30 from xiaomakuaiz/feat-add-some-testcase #6

Merge pull request #30 from xiaomakuaiz/feat-add-some-testcase

Merge pull request #30 from xiaomakuaiz/feat-add-some-testcase #6

Workflow file for this run

name: release blazehttp cli
permissions:
contents: write
on:
push:
tags:
- 'v*'
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.22'
- name: install dependencies
run: sudo apt-get install libgl1-mesa-dev xorg-dev
- name: Run tests
run: go test ./...
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CGO_ENABLED: 0