-
-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (34 loc) · 1.16 KB
/
main.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
name: Test
on:
push:
branches:
- main
- renovate/**
pull_request:
branches:
- main
jobs:
test-ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: sudo apt install -y xmlstarlet shellcheck
- run: sudo snap install go --classic
- name: Install `changelog` tool
run: |
mkdir -p $HOME/.local/bin
echo "$HOME/.local/bin" >> $GITHUB_PATH
wget -qO- "https://github.com/cucumber/changelog/releases/download/0.10.0/changelog_0.10.0_linux_amd64.tar.gz" | tar xvz -C $HOME/.local/bin changelog
- run: ./polyglot-release-test
test-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: Homebrew/actions/setup-homebrew@master
- run: brew install xmlstarlet shellcheck go coreutils
- name: Install `changelog` tool
run: |
mkdir -p $HOME/.local/bin
echo "$HOME/.local/bin" >> $GITHUB_PATH
wget -qO- "https://github.com/cucumber/changelog/releases/download/0.10.0/changelog_0.10.0_darwin_amd64.tar.gz" | tar xvz -C $HOME/.local/bin changelog
- run: ./polyglot-release-test