build(deps): bump github.com/dymensionxyz/sdk-utils from 0.1.2-0.20240909101947-e1b483ada9c8 to 0.2.10 #836
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: Build and Test | |
on: | |
push: | |
tags: | |
- v* | |
branches: | |
- "main" | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
GOPRIVATE: "github.com/dymensionxyz/*" | |
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}" | |
steps: | |
- uses: actions/checkout@v3 | |
- run: git config --global url.https://[email protected]/.insteadOf https://github.com/ | |
- name: Setup Golang with cache | |
uses: magnetikonline/action-golang-cache@v4 | |
with: | |
go-version-file: go.mod | |
- name: Test | |
run: go test ./... | |
lint: | |
runs-on: ubuntu-latest | |
env: | |
GOPRIVATE: "github.com/dymensionxyz/*" | |
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}" | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: 1.22.1 | |
- name: golangci-lint | |
uses: golangci/[email protected] | |
with: | |
args: --timeout=5m0s | |
version: v1.56.2 | |
- name: markdownlint-cli | |
uses: nosborn/[email protected] | |
with: | |
files: . | |
config_file: .markdownlint.yaml |