Skip to content

Update linters

Update linters #38

Workflow file for this run

name: Build
on:
pull_request:
paths-ignore:
- "**.md"
push:
branches:
- main
paths-ignore:
- "**.md"
jobs:
plugin_test:
name: asdf plugin test
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Test plugin
uses: asdf-vm/actions/plugin-test@v3.0.2
with:
command: telepresence version
- name: Checkout code
uses: actions/checkout@v4
with:
path: telepresence
- name: Move telepresence plugin to plugins dir
run: |
mkdir -p ${HOME}/.asdf/plugins/
mv telepresence ${HOME}/.asdf/plugins/
- name: Run telepresence specific tests
run: |
echo "Trying to list all versions of telepresence"
asdf list all telepresence
echo "Will try to install telepresence 2.17.0"
asdf install telepresence 2.17.0
echo "Will try to install telepresence 2.18.0"
asdf install telepresence 2.18.0
echo "Setting telepresence version 2.17.0 as the default value in ~/.tool-versions"
echo 'telepresence 2.17.0' > ~/.tool-versions
telepresence version 2>&1 | grep '2.17.0'
echo "Setting telepresence version 2.18.0 as the default value in ~/.tool-versions"
echo 'telepresence 2.18.0' > ~/.tool-versions
telepresence version 2>&1 | grep '2.18.0'