mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-01-26 01:41:35 +03:00
From the go 1.19 release notes:
Command and LookPath no longer allow results from a PATH search to be found relative to the current directory. This removes a common source of security problems but may also break existing programs that depend on using, say, exec.Command("prog") to run a binary named prog (or, on Windows, prog.exe) in the current directory. See the os/exec package documentation for information about how best to update such programs.
36 lines
833 B
YAML
36 lines
833 B
YAML
name: Continuous Delivery
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- 'v*'
|
|
|
|
jobs:
|
|
goreleaser:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v3
|
|
- name: Unshallow repo
|
|
run: git fetch --prune --unshallow
|
|
- name: Setup Go
|
|
uses: actions/setup-go@v1
|
|
with:
|
|
go-version: 1.20.x
|
|
- name: Run goreleaser
|
|
uses: goreleaser/goreleaser-action@v1
|
|
with:
|
|
distribution: goreleaser
|
|
version: v1.17.2
|
|
args: release --clean
|
|
env:
|
|
GITHUB_TOKEN: ${{secrets.GITHUB_API_TOKEN}}
|
|
homebrew:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Bump Homebrew formula
|
|
uses: dawidd6/action-homebrew-bump-formula@v3
|
|
with:
|
|
token: ${{secrets.GITHUB_API_TOKEN}}
|
|
formula: lazygit
|