Skip to content

add expected approval&reject expressions to MsgNewAction #579

add expected approval&reject expressions to MsgNewAction

add expected approval&reject expressions to MsgNewAction #579

Workflow file for this run

---
name: wardend
on:
push:
branches:
- main
paths:
- "cmd/faucet/**"
- "cmd/wardend/**"
- "warden/**"
tags:
- "faucet/v*"
- "wardend/v*"
pull_request:
paths:
- "cmd/faucet/**"
- "cmd/wardend/**"
- "warden/**"
env:
modules: "./warden/... ./cmd/wardend/... ./cmd/faucet/..."
jobs:
lint:
runs-on: ubuntu-latest
name: lint
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: "1.22"
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.56
args: --timeout=10m ${{ env.modules }}
unit-test:
runs-on: ubuntu-latest
name: test
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: "1.22"
- name: Build
run: go build -v ${{ env.modules }}
- name: Test (-race)
run: go test -race -v ${{ env.modules }}
build-and-push:
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') || startsWith(github.ref, 'refs/tags/wardend/v')
needs: [lint, unit-test]
uses: ./.github/workflows/build_push.yml
with:
service_name: wardend
secrets: inherit
build-and-push-faucet:
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') || startsWith(github.ref, 'refs/tags/faucet/v')
needs: [lint, unit-test]
uses: ./.github/workflows/build_push.yml
with:
service_name: faucet
secrets: inherit