Skip to content

pfm: ibc-go/v7 v7.3.1 & regen mocks #12

pfm: ibc-go/v7 v7.3.1 & regen mocks

pfm: ibc-go/v7 v7.3.1 & regen mocks #12

name: packet-forward-middleware
on:
pull_request:
paths:
- 'middleware/packet-forward-middleware/**'
- '.github/workflows/packet-forward-middleware.yml'
env:
LINT_VERSION: v1.52
GO_VERSION: 1.21.0
WORKING_DIRECTORY: middleware/packet-forward-middleware/
jobs:
golangci:
name: Linter
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: ${{ env.LINT_VERSION }}
working-directory: ${{ env.WORKING_DIRECTORY }}
args: --timeout=5m
test:
runs-on: ubuntu-latest
name: test
steps:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
- uses: actions/checkout@v4
- name: Test
run: go test ./...
working-directory: ${{ env.WORKING_DIRECTORY }}
# TODO: e2e