diff --git a/.github/workflows/gen-binaries.yml b/.github/workflows/gen-binaries.yml index c0d8f0a..6d7fc32 100644 --- a/.github/workflows/gen-binaries.yml +++ b/.github/workflows/gen-binaries.yml @@ -16,20 +16,16 @@ jobs: steps: - uses: actions/checkout@v3 + - uses: actions/setup-go@v4 # we need go to build go-waku + with: + go-version: "1.20" - name: Setup Rust uses: actions-rs/toolchain@v1 with: - toolchain: stable - - name: Install Go - run: | - if [ $(uname -m) = "aarch64" ]; then - wget https://golang.org/dl/go1.20.13.linux-arm64.tar.gz && - sudo tar -C /usr/local -xzf go1.20.13.linux-arm64.tar.gz - else - wget https://golang.org/dl/go1.20.13.linux-amd64.tar.gz && - sudo tar -C /usr/local -xzf go1.20.13.linux-amd64.tar.gz - fi - export PATH=$PATH:/usr/local/go/bin + profile: minimal + toolchain: 1.82.0 + default: true + override: true - name: Build release binary run: | cargo build --release