generated from asdf-vm/asdf-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (34 loc) · 1.02 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
name: Build
"on":
push:
branches:
- main
pull_request:
branches:
- "*"
workflow_dispatch: {}
jobs:
plugin_test:
name: asdf plugin test
strategy:
matrix:
os:
# renovate datasource: github-runners, depName: ubuntu
- ubuntu-22.04
# renovate datasource: github-runners, depName: macos
- macos-14
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: parse-tool-versions
uses: paulo-ferraz-oliveira/parse-tool-versions@534819f70c0c04d788b49dafc29c8117901277bd # v1.0.3
id: tool-versions
- name: nodejs
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: ${{steps.tool-versions.outputs.nodejs}}
- name: plugin-test
uses: asdf-vm/actions/plugin-test@05e0d2ed97b598bfce82fd30daf324ae0c4570e6 # v3.0.2
with:
command: markdownlint-cli2 _version