-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (33 loc) · 1 KB
/
ci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: ci
on:
push:
branches:
- main
pull_request:
# Remember to update me in package-set.yml as well
env:
vessel_version: "v0.6.4"
moc_version: "0.8.7"
jobs:
tests:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 14
- uses: aviate-labs/[email protected]
with:
dfx-version: 0.13.1
- name: "install Motoko binaries"
run: |
wget https://github.com/dfinity/motoko/releases/download/${{ env.moc_version }}/motoko-linux64-${{ env.moc_version }}.tar.gz
mkdir -p /home/runner/bin
tar -xzf motoko-linux64-${{ env.moc_version }}.tar.gz -C /home/runner/bin
echo "/home/runner/bin" >> $GITHUB_PATH
- name: "install vessel"
run: |
wget --output-document /home/runner/bin/vessel https://github.com/dfinity/vessel/releases/download/${{ env.vessel_version }}/vessel-linux64
chmod +x /home/runner/bin/vessel
- name: "check"
run: make check