Skip to content

Bump super-linter/super-linter from 8.5.0 to 8.6.0 in the actions-minor group across 1 directory #294

Bump super-linter/super-linter from 8.5.0 to 8.6.0 in the actions-minor group across 1 directory

Bump super-linter/super-linter from 8.5.0 to 8.6.0 in the actions-minor group across 1 directory #294

Workflow file for this run

name: Continuous Integration
on:
pull_request:
branches:
- main
push:
branches:
- main
permissions:
contents: read
jobs:
test-typescript:
name: TypeScript Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v6
with:
persist-credentials: false
- name: Setup Node.js
id: setup-node
uses: actions/setup-node@v6
with:
node-version-file: .node-version
cache: npm
- name: Install Dependencies
id: npm-ci
run: npm ci
- name: Check Format
id: npm-format-check
run: npm run format:check
- name: Lint
id: npm-lint
run: npm run lint
- name: Test
id: npm-ci-test
run: npm run ci-test
test-action:
name: GitHub Actions Test
runs-on: ubuntu-latest
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v6
with:
persist-credentials: false
- uses: actions/setup-python@v6
with:
python-version: '3.11.4'
cache: 'pip'
- name: Start Globus Compute Endpoint
id: gce
run: |
pip install globus-compute-endpoint
export GLOBUS_COMPUTE_CLIENT_ID=${{ secrets.GLOBUS_CLI_CLIENT_ID}}
export GLOBUS_COMPUTE_CLIENT_SECRET=${{ secrets.GLOBUS_CLI_CLIENT_SECRET }}
globus-compute-endpoint configure --multi-user false test
globus-compute-endpoint start test &
output="None"
while [[ "$output" == "None" ]]; do
output=$(globus-compute-endpoint list | grep test | cut -d ' ' -f2)
done
globus-compute-endpoint list
echo "endpoint=${output}" >> "$GITHUB_OUTPUT"
- name: Test Local Action
id: test-action
uses: ./
with:
client_id: ${{ secrets.GLOBUS_CLI_CLIENT_ID }}
client_secret: ${{ secrets.GLOBUS_CLI_CLIENT_SECRET }}
endpoint_uuid: ${{ steps.gce.outputs.endpoint }}
function_uuid: 'd0031aba-5f41-4cc4-9d12-cb980ef10cd5'
args: '[]'
kwargs: '{"inpt": "test"}'
- name: Print Output
id: output
run: echo "${STEPS_TEST_ACTION_OUTPUTS_RESPONSE}"
env:
STEPS_TEST_ACTION_OUTPUTS_RESPONSE:
${{ steps.test-action.outputs.response }}