chore(deps): Bump github.com/golangci/golangci-lint from 1.48.0 to 1.62.2 #101
Workflow file for this run
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: Compile Osmosis | |
# Controls when the action will run. | |
# This workflow runr on pushes to master & every Pull Requests. (Or when manually triggered) | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
# This workflow makes x86_64 binaries for mac, windows, and linux. | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
arch: [amd64] | |
targetos: [darwin, linux] | |
include: | |
- targetos: darwin | |
arch: arm64 | |
# include: | |
# - targetos: windows | |
# arch: amd64 | |
name: osmosis ${{ matrix.arch }} for ${{ matrix.targetos }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/[email protected] | |
with: | |
go-version: '^1.18' | |
env: | |
GOOS: ${{ matrix.targetos }} | |
GOARCH: ${{ matrix.arch }} | |
- name: Compile osmosis | |
run: | | |
go mod download | |
cd cmd/osmosisd | |
go build . | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: osmosisd ${{ matrix.targetos }} ${{ matrix.arch }} | |
path: cmd/osmosisd/osmosisd |