Skip to content

Commit 2a90f54

Browse files
authored
Fix branch and triple in compatibility.yml (#105)
`master` doesn't exist in our repository, so the workflow wasn't triggered. Also, the triple option had a typo, not sure how that even worked 🤔
1 parent 6c8c705 commit 2a90f54

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/compatibility.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,23 @@ name: Check compatibility
22
on:
33
pull_request:
44
push:
5-
branches: [master]
5+
branches: [main]
66
jobs:
77
test:
88
name: Check source code compatibility
99
runs-on: Ubuntu-18.04
1010
steps:
1111
- name: Checkout
12-
uses: actions/checkout@master
12+
uses: actions/checkout@v2
1313
with:
1414
fetch-depth: 1
1515
- name: Run Test
1616
run: |
17+
set -eux
1718
git clone https://github.com/kylef/swiftenv.git ~/.swiftenv
1819
export SWIFTENV_ROOT="$HOME/.swiftenv"
1920
export PATH="$SWIFTENV_ROOT/bin:$PATH"
2021
eval "$(swiftenv init -)"
2122
make bootstrap
2223
cd Example
23-
swift build --triple wasm32-unknonw-wasi
24+
swift build --triple wasm32-unknown-wasi

0 commit comments

Comments
 (0)