From fdb3fba23595d224e46dca4db8001648d4738c12 Mon Sep 17 00:00:00 2001 From: srdtrk Date: Tue, 18 Jun 2024 13:01:35 +0400 Subject: [PATCH] ci: condition e2e.yml on rust.yml --- .github/workflows/e2e.yml | 19 ++++++------------- .github/workflows/rust.yml | 2 +- 2 files changed, 7 insertions(+), 14 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index ebacfedc..b45aa2b6 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -1,16 +1,9 @@ name: e2e on: - push: - branches: [main] - pull_request: - paths: - - '**.rs' - - '**.go' - - '**.toml' - - '**.lock' - - '**.mod' - - '**.sum' - - '.github/workflows/e2e.yml' + workflow_run: + workflows: [rust] + types: + - completed permissions: contents: read jobs: @@ -20,7 +13,7 @@ jobs: steps: - uses: actions/setup-go@v4 with: - go-version: "1.21" + go-version: "1.22" - uses: actions/checkout@v3 - name: golangci-lint uses: golangci/golangci-lint-action@v3.7.0 @@ -64,7 +57,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v4 with: - go-version: "1.21" + go-version: "1.22" check-latest: true cache-dependency-path: | e2e/interchaintest/go.sum diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 5d8587fc..6900935f 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -7,7 +7,7 @@ on: pull_request: paths-ignore: - '**/*.md' - - '**/*.go' + - 'docs/**' jobs: build-wasm: