From 2330a9ebdbeb3be42b3927e1d9a44f6e11d28ab6 Mon Sep 17 00:00:00 2001 From: Maksim Paskal Date: Tue, 9 Jan 2024 10:21:02 +0000 Subject: [PATCH] run e2e on github runner Signed-off-by: Maksim Paskal --- .github/workflows/e2e.yml | 7 +++++-- .github/workflows/golangci-lint.yml | 6 +----- .github/workflows/validate-license.yml | 6 +----- 3 files changed, 7 insertions(+), 12 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 318cff7..6aa908f 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -5,10 +5,13 @@ on: jobs: e2e: name: e2e - runs-on: self-hosted + runs-on: ubuntu-latest steps: - uses: actions/setup-go@v2 with: go-version: '1.21' - uses: actions/checkout@v2 - - run: make e2e branch=$GITHUB_HEAD_REF \ No newline at end of file + - run: ssh-keygen -t rsa -q -f "$HOME/.ssh/id_rsa" -N "" + - run: make e2e branch=$GITHUB_HEAD_REF + env: + HCLOUD_TOKEN: ${{ secrets.HCLOUD_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index b8b3623..15b5b16 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -1,10 +1,6 @@ on: - push: - tags: - - v* - branches: - - main pull_request: + jobs: golangci: name: lint diff --git a/.github/workflows/validate-license.yml b/.github/workflows/validate-license.yml index c28c1a3..b22dd0b 100644 --- a/.github/workflows/validate-license.yml +++ b/.github/workflows/validate-license.yml @@ -1,10 +1,6 @@ on: - push: - tags: - - v* - branches: - - main pull_request: + jobs: validate-license: name: validate-license