-
-
Notifications
You must be signed in to change notification settings - Fork 8
30 lines (27 loc) · 806 Bytes
/
test.yaml
File metadata and controls
30 lines (27 loc) · 806 Bytes
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
name: Test setup-cloudflared
on:
push:
paths:
- action.yml
- scripts/**
- .github/workflows/test.yaml
pull_request:
paths:
- action.yml
- scripts/**
- .github/workflows/test.yaml
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
version: [latest, "${{ vars.SPECIFIED_VERSION }}"] # Set the SPECIFIED_VERSION variable to the last previous version in order to pass this test
steps:
- name: Setup cloudflared using setup-cloudflared
uses: AnimMouse/setup-cloudflared@main
with:
version: ${{ matrix.version }}
- name: Test cloudflared by checking version
run: cloudflared -v