Skip to content

new: Add CODEOWNERS (#6) #40

new: Add CODEOWNERS (#6)

new: Add CODEOWNERS (#6) #40

Workflow file for this run

on: [push]
jobs:
test-token:
runs-on: ubuntu-latest
name: Test the action with a setup token
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install the Linode CLI
uses: ./
with:
token: "${{ secrets.LINODE_TOKEN }}"
- name: Run an authenticated command
run: linode-cli linodes ls > /dev/null
test-notoken:
runs-on: ubuntu-latest
name: Test the action without a setup token
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install the Linode CLI
uses: ./
- name: Run an authenticated command
run: linode-cli linodes ls > /dev/null
env:
LINODE_CLI_TOKEN: "${{ secrets.LINODE_TOKEN }}"
test-version:
runs-on: ubuntu-latest
name: Test the action with an explicit version
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install the Linode CLI
uses: ./
with:
token: "${{ secrets.LINODE_TOKEN }}"
version: v5.35.0
- name: Run an authenticated command
run: linode-cli linodes ls > /dev/null
test-optional-deps:
runs-on: ubuntu-latest
name: Test the action with optional dependencies
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install the Linode CLI
uses: ./
with:
token: "${{ secrets.LINODE_TOKEN }}"
optional-deps: true
- name: Assert optional dep installed
run: pip freeze | grep -q boto3
- name: Run an authenticated command
run: linode-cli linodes ls > /dev/null