This repository has been archived by the owner on Aug 31, 2024. It is now read-only.
refine some function #95
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
# This workflow will build a golang project | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go | |
name: Go | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
if: github.event.pull_request.draft == false | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.21' | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly-2023-11-13 | |
# - name: Cache cargo | |
# uses: Swatinem/rust-cache@v2 | |
# with: | |
# workspaces: "cairoVM/juno/vm/rust -> target" | |
- name: Download juno | |
run: | | |
git submodule init | |
git submodule update --recursive --checkout | |
- name: Build | |
run: make build | |
# - name: Test | |
# run: go test -v ./... |