-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace tidal doctor with analyze code for main action
- Move action that validates _it works_ to a subfolder
- Loading branch information
1 parent
ab3b949
commit 84bd272
Showing
4 changed files
with
110 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,59 @@ | ||
on: [push] | ||
|
||
jobs: | ||
hello_world_job: | ||
doctor: | ||
runs-on: ubuntu-latest | ||
name: A job to say validate the action | ||
name: A job to run tidal doctor | ||
steps: | ||
# To use this repository's private action, | ||
# you must check out the repository | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Tidal Doctor action step | ||
uses: ./ # Uses an action in the root directory | ||
uses: ./doctor | ||
with: | ||
tidal-email: '${{ secrets.TIDAL_EMAIL }}' | ||
tidal-url: '${{ secrets.TIDAL_URL }}' | ||
tidal-password: '${{ secrets.TIDAL_PASSWORD }}' | ||
id: hello | ||
ping: | ||
runs-on: ubuntu-latest | ||
name: A job to run tidal ping | ||
steps: | ||
# To use this repository's private action, | ||
# you must check out the repository | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Tidal Ping action step | ||
uses: ./ping | ||
with: | ||
tidal-email: '${{ secrets.TIDAL_EMAIL }}' | ||
tidal-url: '${{ secrets.TIDAL_URL }}' | ||
tidal-password: '${{ secrets.TIDAL_PASSWORD }}' | ||
analyze-code: | ||
runs-on: ubuntu-latest | ||
name: A job to validate analyze code | ||
steps: | ||
# To use this repository's private action, | ||
# you must check out the repository | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: tidal ls | ||
run: | | ||
ls $RUNNER_TEMP | ||
env | ||
- name: Tidal Doctor action step | ||
uses: ./ # Uses an action in the root directory | ||
with: | ||
tidal-email: '${{ secrets.TIDAL_EMAIL }}' | ||
tidal-url: '${{ secrets.TIDAL_URL }}' | ||
tidal-password: '${{ secrets.TIDAL_PASSWORD }}' | ||
app-id: '66' | ||
- name: tidal ls | ||
if: always() | ||
run: | | ||
ls $RUNNER_TEMP | ||
ls $GITHUB_WORKSPACE | ||
echo TEMP HOME | ||
ls /home/runner/work/_temp/_github_home/ | ||
echo DONE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: 'Tidal Tools Code Analysis' | ||
description: 'Run tidal' | ||
inputs: | ||
tidal-email: # id of input | ||
description: 'Who to greet' | ||
required: true | ||
tidal-password: | ||
description: 'Who to greet' | ||
required: true | ||
tidal-url: | ||
description: 'Who to greet' | ||
required: true | ||
runs: | ||
using: 'docker' | ||
image: 'gcr.io/tidal-1529434400027/tidal-tools:latest' | ||
args: | ||
- 'doctor' | ||
- '--tidal-email' | ||
- '${{inputs.tidal-email}}' | ||
- '--tidal-password' | ||
- '${{inputs.tidal-password}}' | ||
- '--tidal-url' | ||
- '${{inputs.tidal-url}}' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: 'Tidal Tools Code Analysis' | ||
description: 'Run tidal' | ||
inputs: | ||
tidal-email: # id of input | ||
description: 'Who to greet' | ||
required: true | ||
tidal-password: | ||
description: 'Who to greet' | ||
required: true | ||
tidal-url: | ||
description: 'Who to greet' | ||
required: true | ||
runs: | ||
using: 'docker' | ||
image: 'gcr.io/tidal-1529434400027/tidal-tools:latest' | ||
args: | ||
- 'ping' | ||
- '--tidal-email' | ||
- '${{inputs.tidal-email}}' | ||
- '--tidal-password' | ||
- '${{inputs.tidal-password}}' | ||
- '--tidal-url' | ||
- '${{inputs.tidal-url}}' | ||
|