Skip to content

chore(v8): tweak ibc rate-limit addition #2

chore(v8): tweak ibc rate-limit addition

chore(v8): tweak ibc rate-limit addition #2

Workflow file for this run

name: rate-limiting
on:
pull_request:
paths:
- "modules/rate-limiting/**"
- ".github/workflows/rate-limiting.yml"
env:
LINT_VERSION: v1.57.1
GO_VERSION: 1.22.1
WORKING_DIRECTORY: modules/rate-limiting
DOCKER_TAG: rate-limiting:local
TAR_PATH: /tmp/rate-limiting-image.tar
IMAGE_NAME: rate-limiting-image
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: build docker & run e2e tests (ref: pfm matrix)