Refactor: improve package name #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test build | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
push: | |
branches: | |
- main | |
jobs: | |
release: | |
permissions: write-all | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.22' | |
- name: Build | |
run: | | |
GOOS=linux GOARCH=amd64 go build -o llfctl-amd64 main.go | |
GOOS=linux GOARCH=arm go build -o llfctl-arm main.go | |
GOOS=linux GOARCH=arm64 go build -o llfctl-arm64 main.go | |
GOOS=linux GOARCH=mips go build -o llfctl-mips main.go | |
GOOS=linux GOARCH=mips64 go build -o llfctl-mips64 main.go | |
GOOS=linux GOARCH=riscv64 go build -o llfctl-riscv64 main.go | |
GOOS=linux GOARCH=ppc64 go build -o llfctl-ppc64 main.go | |
GOOS=linux GOARCH=ppc64le go build -o llfctl-ppc64le main.go | |
GOOS=linux GOARCH=s390x go build -o llfctl-s390x main.go |