Skip to content

Commit

Permalink
restore
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwi committed Aug 9, 2024
1 parent c76acc4 commit 7521945
Showing 1 changed file with 36 additions and 36 deletions.
72 changes: 36 additions & 36 deletions .github/workflows/ci-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'
Expand Down

0 comments on commit 7521945

Please sign in to comment.