Skip to content

feat/osmosis v25 updates v1 #449

feat/osmosis v25 updates v1

feat/osmosis v25 updates v1 #449

Workflow file for this run

name: pre-commit checks
on:
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
push:
branches:
- main
env:
GO_VERSION: '^1.19'
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/[email protected]
with:
go-version: ${{ env.GO_VERSION }}
- run: go version
- run: go install golang.org/x/tools/cmd/goimports@latest
- run: go install golang.org/x/lint/golint@latest
- run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s - -b $(go env GOPATH)/bin v1.51.2
- run: echo "PATH=$PATH:/home/runner/go/bin" >> $GITHUB_ENV
- uses: pre-commit/[email protected]
- uses: pre-commit-ci/[email protected]
if: always()