From 65ed1f0a0c3543307abdefc8dd5b30688e70b922 Mon Sep 17 00:00:00 2001 From: Max Desiatov Date: Mon, 26 Oct 2020 09:54:32 +0000 Subject: [PATCH] Fix branch and triple in `compatibility.yml` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `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 🤔 --- .github/workflows/compatibility.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/compatibility.yml b/.github/workflows/compatibility.yml index 17b257cfd..40e63d759 100644 --- a/.github/workflows/compatibility.yml +++ b/.github/workflows/compatibility.yml @@ -2,22 +2,23 @@ name: Check compatibility on: pull_request: push: - branches: [master] + branches: [main] jobs: test: name: Check source code compatibility runs-on: Ubuntu-18.04 steps: - name: Checkout - uses: actions/checkout@master + uses: actions/checkout@v2 with: fetch-depth: 1 - name: Run Test run: | + set -eux git clone https://github.com/kylef/swiftenv.git ~/.swiftenv export SWIFTENV_ROOT="$HOME/.swiftenv" export PATH="$SWIFTENV_ROOT/bin:$PATH" eval "$(swiftenv init -)" make bootstrap cd Example - swift build --triple wasm32-unknonw-wasi + swift build --triple wasm32-unknown-wasi