Skip to content

Commit f96a212

Browse files
add updater tests
1 parent a6a33bd commit f96a212

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.github/workflows/updater.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Updater
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
9+
env:
10+
RUSTFLAGS: -Dwarnings
11+
12+
jobs:
13+
fix:
14+
runs-on: windows-latest
15+
steps:
16+
- name: install and update (no custom)
17+
run: powershell -ExecutionPolicy ByPass -c "irm https://github.com/axodotdev/axolotlsay/releases/download/v0.3.2/axolotlsay-installer.ps1 | iex"
18+
- name: run it
19+
run: axolotlsay -Version
20+
- name: update
21+
run: axolotlsay-update --version 0.3.3
22+
repro-bug:
23+
runs-on: windows-latest
24+
steps:
25+
- name: install and update (no custom)
26+
run: powershell -ExecutionPolicy ByPass -c "irm https://github.com/axodotdev/axolotlsay/releases/download/v0.3.1/axolotlsay-installer.ps1 | iex"
27+
- name: run it
28+
run: axolotlsay -Version
29+
- name: update
30+
run: axolotlsay-update --version 0.3.2
31+
original:
32+
runs-on: windows-latest
33+
steps:
34+
- name: install and update (no custom)
35+
run: powershell -ExecutionPolicy ByPass -c "irm https://github.com/axodotdev/axolotlsay/releases/download/v0.3.0/axolotlsay-installer.ps1 | iex"
36+
- name: run it
37+
run: axolotlsay -Version
38+
- name: update
39+
run: axolotlsay-update --version 0.3.1

0 commit comments

Comments
 (0)