Skip to content

Merge pull request #20 from anderseknert/dependabot/github_actions/ac… #46

Merge pull request #20 from anderseknert/dependabot/github_actions/ac…

Merge pull request #20 from anderseknert/dependabot/github_actions/ac… #46

Workflow file for this run

name: Post Merge
on:
push:
branches:
- main
jobs:
golangci-lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: 1.20.5
- uses: golangci/golangci-lint-action@v3.7.0
with:
skip-pkg-cache: true
skip-build-cache: true
release-build-darwin-amd64:
name: Release Build darwin/amd64
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Download Go
uses: actions/setup-go@v4
with:
go-version: 1.20.5
- name: Build darwin/amd64
run: make build-darwin-amd64
- name: Upload binaries
uses: actions/upload-artifact@v3
if: always()
with:
name: binaries
path: _release
release-build-darwin-arm64:
name: Release Build darwin/arm64
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Download Go
uses: actions/setup-go@v4
with:
go-version: 1.20.5
- name: Build darwin/arm64
run: make build-darwin-arm64
- name: Upload binaries
uses: actions/upload-artifact@v3
if: always()
with:
name: binaries
path: _release
release-build-linux-amd64:
name: Release Build linux/amd64
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Download Go
uses: actions/setup-go@v4
with:
go-version: 1.20.5
- name: Build linux/amd64
run: make build-linux-amd64
- name: Upload binaries
uses: actions/upload-artifact@v3
if: always()
with:
name: binaries
path: _release
release-build-windows-amd64:
name: Release Build windows/amd64
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Download Go
uses: actions/setup-go@v4
with:
go-version: 1.20.5
- name: Build windows/amd64
run: make build-windows-amd64
- name: Upload binaries
uses: actions/upload-artifact@v3
if: always()
with:
name: binaries
path: _release