[Extra/rest] Merge from master (bump to cosmos 0.47) #1859
Workflow file for this run
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: Tests | |
on: pull_request | |
jobs: | |
chain-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Code checkout | |
uses: actions/checkout@v2 | |
- name: Install Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: '1.19.1' | |
- name: Install Wabt (wat2wasm) | |
run: | | |
wget https://github.com/WebAssembly/wabt/releases/download/1.0.17/wabt-1.0.17-ubuntu.tar.gz | |
tar -zxf wabt-1.0.17-ubuntu.tar.gz | |
sudo cp wabt-1.0.17/bin/wat2wasm /usr/local/bin | |
- name: Check go mod cache | |
uses: actions/cache@v1 | |
with: | |
path: ~/go/pkg/mod | |
key: ${{ runner.os }}-chain-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-chain- | |
- name: Run chain tests | |
run: go test ./... |