-
Notifications
You must be signed in to change notification settings - Fork 1
53 lines (43 loc) · 1.15 KB
/
ci.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
43
44
45
46
47
48
49
50
51
52
53
name: CI
permissions: {}
on:
workflow_dispatch: {}
pull_request:
paths-ignore:
- "**.md"
- LICENSE
push:
paths-ignore:
- "**.md"
- LICENSE
jobs:
ubuntu:
strategy:
fail-fast: false
matrix:
include:
- container: alpine:latest
preinstall: apk add bash coreutils curl git jq
- container: centos:latest
preinstall: dnf -y --disablerepo '*' --enablerepo=extras swap centos-linux-repos centos-stream-repos && dnf -y install git jq
- container: ubuntu:latest
preinstall: apt-get -y update && apt-get -y install curl git jq
runs-on: ubuntu-latest
container:
image: ${{ matrix.container }}
steps:
- name: Preinstall
run: ${{ matrix.preinstall }}
- name: Test plugin
uses: asdf-vm/actions/plugin-test@v1
with:
command: kubecolor --kubecolor-version
macos:
runs-on: macos-latest
steps:
- name: Preinstall
run: brew install jq
- name: Test plugin
uses: asdf-vm/actions/plugin-test@v1
with:
command: kubecolor --kubecolor-version