Skip to content

feat(golang-cobra): shrink the Dockerfile binary through UPX #38

feat(golang-cobra): shrink the Dockerfile binary through UPX

feat(golang-cobra): shrink the Dockerfile binary through UPX #38

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
permissions: read-all
jobs:
commitlint:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # fetch-depth is required
- uses: wagoid/commitlint-github-action@v6
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '>=1.20.0'
- uses: pre-commit/[email protected]