File tree Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -23,20 +23,26 @@ jobs:
23
23
- ubuntu-latest
24
24
runs-on : ${{ matrix.os }}
25
25
steps :
26
- - name : asdf_plugin_test default
27
- uses : asdf-vm/actions/plugin-test@v3
28
- with :
29
- command : k9s --help
30
-
31
26
- name : Checkout code
32
27
uses : actions/checkout@v4
33
28
34
29
- name : Install Tools with asdf
35
- uses : asdf-vm/actions/install@v3
30
+ env :
31
+ ASDF_VERSION : v0.16.5
32
+ GITHUB_API_TOKEN : ${{ secrets.GITHUB_TOKEN }}
33
+ run : |
34
+ curl -Ls --proto "=https" https://github.com/asdf-vm/asdf/releases/download/${ASDF_VERSION}/asdf-${ASDF_VERSION}-linux-amd64.tar.gz --output asdf.tar.gz
35
+ tar xf asdf.tar.gz
36
+ mkdir -p $GITHUB_WORKSPACE/.local/bin
37
+ mv asdf $GITHUB_WORKSPACE/.local/bin
38
+ chmod +x $GITHUB_WORKSPACE/.local/bin/asdf
39
+ rm asdf.tar.gz
40
+ echo "$GITHUB_WORKSPACE/.local/bin" >> "$GITHUB_PATH"
36
41
37
42
- name : Test plugin with bats
38
43
run : |
39
- asdf plugin-add k9s "${GITHUB_WORKSPACE}"
44
+ asdf plugin add bats
45
+ asdf plugin add k9s "${GITHUB_WORKSPACE}"
40
46
bats --filter-tags type:features --filter-tags type:os_specific test
41
47
42
48
lint_and_tests :
You can’t perform that action at this time.
0 commit comments