Skip to content

ci: add build pipelines #1

ci: add build pipelines

ci: add build pipelines #1

Workflow file for this run

name: Go on Linux
on:
pull_request:
branches: [ main ]
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: "1.22"
- name: Build
run: go build -v ./...
- name: Build arm
run: GOOS=linux GOARCH=arm64 go build -v ./...
- uses: codfish/semantic-release-action@v1
with:
dry_run: true
additional_packages: |
['@semantic-release/exec']
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}