Skip to content

chore(deps): bump github.com/golangci/golangci-lint from 1.58.0 to 1.58.1 in /tools/golangci-lint #973

chore(deps): bump github.com/golangci/golangci-lint from 1.58.0 to 1.58.1 in /tools/golangci-lint

chore(deps): bump github.com/golangci/golangci-lint from 1.58.0 to 1.58.1 in /tools/golangci-lint #973

Workflow file for this run

name: Go
on:
push:
branches:
- main
pull_request:
branches:
- main
release:
types:
- published
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22.2
- name: Check out code
uses: actions/checkout@v4
- name: Crosscompile binaries
run: make crosscompile -j 2
- name: Compress binaries
run: |
mkdir -p artifacts
export SOURCE_DATE_EPOCH=$(git show -s --format=%ci ${GITHUB_SHA})
for i in kthxbye-*; do tar --mtime="${SOURCE_DATE_EPOCH}" --owner=0 --group=0 --numeric-owner -c $i | gzip -n - > artifacts/$i.tar.gz; done
shasum -a 512 artifacts/kthxbye-*.tar.gz | tee artifacts/sha512sum.txt
- name: Get release
if: github.event_name == 'release'
id: get_release
uses: bruceadams/get-release@v1.3.2
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Upload binaries to GitHub release
if: github.event_name == 'release'
uses: AButler/upload-release-assets@v3.0
with:
files: "artifacts/*"
repo-token: ${{ secrets.GITHUB_TOKEN }}