This repository has been archived by the owner on Feb 1, 2024. It is now read-only.
Add new Ink Version update support (#815) #166
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: Makefile | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
makefile: | |
runs-on: 'ubuntu-latest' | |
steps: | |
- name: Install Rust toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: nightly | |
components: rustfmt | |
- uses: actions/checkout@v3 | |
- name: Check `make install` command | |
run: make install | |
- name: Check `make generate` command | |
run: make generate | |
- name: Check `make build` command | |
run: make build | |
- name: Check `make backend-run` command | |
run: nohup make backend-run & | |
- name: Sleep for 10s, allow backend service to start | |
uses: juliangruber/sleep-action@v1 | |
with: | |
time: 10s | |
- name: Check if backend is up and running | |
run: curl http://localhost:4000 |