-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (26 loc) · 825 Bytes
/
test.yml
File metadata and controls
32 lines (26 loc) · 825 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
31
name: Test hext.thomastrapp.com
on:
push:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
env:
WEBSOCAT_URL: "https://github.com/vi/websocat/releases/download/v1.9.0/websocat_linux64"
WEBSOCAT_SHASUM: "9ab17a9e03cca60fbf00aa709a1df5d9fb99a4514240cf7fac390470d6022bc5"
jobs:
test:
name: Test hext.thomastrapp.com
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Check version
run: ./scripts/github-actions/check-version.sh
- name: Install websocat
shell: bash
run: |
wget -q "$WEBSOCAT_URL"
echo "$WEBSOCAT_SHASUM websocat_linux64" | sha256sum -c
chmod +x ./websocat_linux64
sudo mv ./websocat_linux64 /usr/bin/websocat
- name: Test hextws.thomastrapp.com
run: ./scripts/github-actions/test-hextws.sh