v2.0.0 release diff against v1.5.0 #2994
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Wasm E2E tests | |
on: | |
# On normal PRs or when workflow goreleaser finishes, as it gets the last release tag. | |
pull_request: | |
# Allow concurrent runs on main/release branches but isolates other branches | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }} | |
cancel-in-progress: ${{ ! (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/')) }} | |
jobs: | |
e2e-wasm: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Download release | |
id: latest_release | |
uses: pozetroninc/[email protected] | |
with: | |
repository: ${{ github.repository }} | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: download release | |
uses: robinraju/[email protected] | |
with: | |
# uses latest (including drafts) | |
# tag: ${{ steps.latest_release.outputs.release }} | |
# uses latest (excluding drafts) as tagged by GitHub | |
latest: true | |
fileName: "*linux_amd64.tar.gz" | |
- name: unpack release | |
run: | | |
tar -xzf *linux_amd64.tar.gz | |
rm nibid*.gz | |
mv nibid* nibid || true | |
mv nibid /usr/local/bin/ | |
echo "nibid version: $(nibid version)" | |
- name: "Install just" | |
# casey/just: https://just.systems/man/en/chapter_6.html | |
# taiki-e/install-action: https://github.com/taiki-e/install-action | |
uses: taiki-e/install-action@just | |
- name: "launch localnet" | |
run: | | |
just localnet --no-build & | |
sleep 6 | |
- name: run e2e tests | |
run: | | |
sh ./contrib/scripts/e2e/deploy-wasm.sh |