diff --git a/.github/workflows/ci-check.yml b/.github/workflows/ci-check.yml index a6cb128d..ad7c6039 100644 --- a/.github/workflows/ci-check.yml +++ b/.github/workflows/ci-check.yml @@ -152,7 +152,7 @@ jobs: uses: actions/checkout@v4 with: repository: signalwire/actions-template - ref: ryanwi/docker-cache + ref: main path: actions - name: Retrieve Secrets from HashiCorp Vault @@ -166,44 +166,44 @@ jobs: TELEPORT_PROXY_URL: ${{ inputs.TELEPORT_PROXY_URL }} SECRETS: ${{ inputs.VAULT_SECRETS }} - # - name: Up Test dependencies - # if: ${{ inputs.TEST_DEPENDENCIES == true}} - # uses: ./actions/.github/actions/docker-compose - # with: - # COMPOSE_FILE: ${{ inputs.DEPENDENCIES_FILE }} - # DOCKERHUB_LOGIN: ${{ inputs.TEST_DEPENDENCIES_PRIVATE }} - # RUN_BACKGROUND: true - # CREATE_NETWORK: ${{ inputs.TEST_CREATE_NETWORK }} - # env: - # DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} - # DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Up Test dependencies + if: ${{ inputs.TEST_DEPENDENCIES == true}} + uses: ./actions/.github/actions/docker-compose + with: + COMPOSE_FILE: ${{ inputs.DEPENDENCIES_FILE }} + DOCKERHUB_LOGIN: ${{ inputs.TEST_DEPENDENCIES_PRIVATE }} + RUN_BACKGROUND: true + CREATE_NETWORK: ${{ inputs.TEST_CREATE_NETWORK }} + env: + DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} + DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} - # - name: Test .NET - # if: ${{ inputs.LANGUAGE == 'dot-net' }} - # uses: ./actions/.github/actions/test-dotnet - # with: - # DOTNET_VERSION: ${{ inputs.DOTNET_VERSION }} - # DOTNET_INSTALL_DIR: ${{ inputs.DOTNET_INSTALL_DIR }} - # RUN_TESTS: ${{ inputs.RUN_TESTS }} + - name: Test .NET + if: ${{ inputs.LANGUAGE == 'dot-net' }} + uses: ./actions/.github/actions/test-dotnet + with: + DOTNET_VERSION: ${{ inputs.DOTNET_VERSION }} + DOTNET_INSTALL_DIR: ${{ inputs.DOTNET_INSTALL_DIR }} + RUN_TESTS: ${{ inputs.RUN_TESTS }} - # - name: Test JS - # if: ${{ inputs.LANGUAGE == 'JavaScript' }} - # uses: ./actions/.github/actions/test-javascript - # with: - # NODE_VERSION: ${{ inputs.NODE_VERSION }} + - name: Test JS + if: ${{ inputs.LANGUAGE == 'JavaScript' }} + uses: ./actions/.github/actions/test-javascript + with: + NODE_VERSION: ${{ inputs.NODE_VERSION }} - # - name: Test Ruby - # if: ${{ inputs.LANGUAGE == 'Ruby' }} - # uses: ./actions/.github/actions/test-ruby - # with: - # RUBY_VERSION: ${{ inputs.RUBY_VERSION }} - # ENV_PATH: ${{ inputs.ENV_PATH }} - # RUBY_RAKE_COMMANDS: ${{ inputs.RUBY_RAKE_COMMANDS }} - # ZEITWERK: ${{ inputs.ZEITWERK }} - # BRAKEMAN: ${{ inputs.BRAKEMAN }} - # RUBOCOP: ${{ inputs.RUBOCOP }} - # env: - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Test Ruby + if: ${{ inputs.LANGUAGE == 'Ruby' }} + uses: ./actions/.github/actions/test-ruby + with: + RUBY_VERSION: ${{ inputs.RUBY_VERSION }} + ENV_PATH: ${{ inputs.ENV_PATH }} + RUBY_RAKE_COMMANDS: ${{ inputs.RUBY_RAKE_COMMANDS }} + ZEITWERK: ${{ inputs.ZEITWERK }} + BRAKEMAN: ${{ inputs.BRAKEMAN }} + RUBOCOP: ${{ inputs.RUBOCOP }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Test configs if: inputs.LANGUAGE == 'configs' || inputs.LANGUAGE == 'configs'