From fdb3fba23595d224e46dca4db8001648d4738c12 Mon Sep 17 00:00:00 2001 From: srdtrk Date: Tue, 18 Jun 2024 13:01:35 +0400 Subject: [PATCH 1/3] 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: From 1d0535d4990da279bd4fa800a098531750b96715 Mon Sep 17 00:00:00 2001 From: srdtrk Date: Tue, 18 Jun 2024 13:17:57 +0400 Subject: [PATCH 2/3] ci: attempted fix --- .github/workflows/e2e.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index b45aa2b6..a7847183 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -1,7 +1,7 @@ name: e2e on: workflow_run: - workflows: [rust] + workflows: ["rust"] types: - completed permissions: From 58f09153bb8aa0073fd82d37cbd38403335dccac Mon Sep 17 00:00:00 2001 From: srdtrk Date: Tue, 18 Jun 2024 13:22:23 +0400 Subject: [PATCH 3/3] Revert "ci: attempted fix" This reverts commit 1d0535d4990da279bd4fa800a098531750b96715. --- .github/workflows/e2e.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index a7847183..b45aa2b6 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -1,7 +1,7 @@ name: e2e on: workflow_run: - workflows: ["rust"] + workflows: [rust] types: - completed permissions: