diff --git a/.github/pr-check.yml b/.github/pr-check.yml deleted file mode 100644 index deade1b3ee8d..000000000000 --- a/.github/pr-check.yml +++ /dev/null @@ -1,14 +0,0 @@ ---- -name: Run PR-check - -jobs: - pr-check: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 - with: - go-version-file: ./.go-version - - run: bash scripts/gogetcookie.sh - - run: make tools - - run: make pr-check \ No newline at end of file diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml new file mode 100644 index 000000000000..cb718ce75230 --- /dev/null +++ b/.github/workflows/pr-check.yml @@ -0,0 +1,34 @@ +--- +name: Run Relevant Checks + +on: [push] + +jobs: + acceptance: + name: Acceptance Tests + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version-file: 'go.mod' + - uses: hashicorp/setup-terraform@v3 + with: + terraform_version: '1.6.*' + terraform_wrapper: false + - run: make make acctests + env: + TF_ACC: '1' + TESTARGS: '-parallel=1 -run=TestAccContainerAppEnvironment_' + SERVICE: 'containerapps' + TESTTIMEOUT: '60m' + pr-check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@4 + - uses: actions/setup-go@5 + with: + go-version-file: 'go.mod' + - run: make tools + - run: make pr-check + - run: git status \ No newline at end of file