From 344639a908fa2e07bad3b7278548adf97c0feb58 Mon Sep 17 00:00:00 2001 From: "Marcel S. Henselin" Date: Wed, 11 Mar 2026 09:43:45 +0100 Subject: [PATCH] test: try gotest action [skip ci] --- .github/actions/acc_test/action.yaml | 31 ++++++++++++++++++---------- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/.github/actions/acc_test/action.yaml b/.github/actions/acc_test/action.yaml index 6934fbea..208c9640 100644 --- a/.github/actions/acc_test/action.yaml +++ b/.github/actions/acc_test/action.yaml @@ -61,25 +61,33 @@ inputs: default: '' -outputs: - random-number: - description: "Random number" - value: ${{ steps.random-number-generator.outputs.random-number }} +#outputs: +# random-number: +# description: "Random number" +# value: ${{ steps.random-number-generator.outputs.random-number }} runs: using: "composite" steps: - - name: Random Number Generator - id: random-number-generator - run: echo "random-number=$(echo $RANDOM)" >> $GITHUB_OUTPUT - shell: bash +# - name: Random Number Generator +# id: random-number-generator +# run: echo "random-number=$(echo $RANDOM)" >> $GITHUB_OUTPUT +# shell: bash - name: Install needed tools shell: bash run: | + echo "::group::apt install" set -e - apt-get -y -qq update - apt-get -y -qq install jq python3 python3-pip python-is-python3 s3cmd git make wget + apt-get -y -qq update >apt_update.log 2>apt_update_err.log + if [ $? -ne 0 ]; then + cat apt_update.log apt_update_err.log + fi + apt-get -y -qq install jq python3 python3-pip python-is-python3 s3cmd git make wget >apt_get.log 2>apt_get_err.log + if [ $? -ne 0 ]; then + cat apt_get.log apt_get_err.log + fi + echo "::endgroup::" - name: Setup JAVA uses: actions/setup-java@v5 @@ -112,6 +120,7 @@ runs: if: steps.cache-gopkg.outputs.cache-hit != 'true' shell: bash run: | + echo "::group::go install" set -e go mod download go install golang.org/x/tools/cmd/goimports@latest @@ -119,7 +128,7 @@ runs: go install github.com/hashicorp/terraform-plugin-codegen-openapi/cmd/tfplugingen-openapi@latest go install github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs@latest go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@latest - + echo "::endgroup::" - name: Run go mod tidy shell: bash run: go mod tidy