chore(deps): bump github.com/consensys/gnark-crypto from 0.19.0 to 0.19.1 #4369
Workflow file for this run
This file contains hidden or 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: Build and Test GUI | |
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| branches: ["main"] | |
| jobs: | |
| build-gui: | |
| runs-on: ${{ matrix.name }} | |
| defaults: | |
| run: | |
| shell: ${{ matrix.shell }} | |
| strategy: | |
| matrix: | |
| # Default values for `defaults.run.shell` | |
| # https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#defaultsrunshell | |
| include: | |
| - name: ubuntu-latest | |
| shell: "bash -e {0}" | |
| - name: macos-latest | |
| shell: "bash -e {0}" | |
| - name: windows-latest | |
| shell: "msys2 {0}" | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Setup Go for macOS and Linux | |
| if: runner.os != 'Windows' | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version: "1.25.1" | |
| - name: Install Dependencies (Linux) | |
| if: runner.os == 'Linux' | |
| run: | | |
| sudo apt update | |
| sudo apt install -y libgtk-3-dev libcairo2-dev libglib2.0-dev | |
| - name: Install Dependencies (macOS) | |
| if: runner.os == 'macOS' | |
| run: brew install gtk+3 | |
| - name: Setup MSYS2 and Dependencies (Windows) | |
| if: runner.os == 'Windows' | |
| uses: msys2/setup-msys2@v2 | |
| with: | |
| msystem: MINGW64 | |
| install: >- | |
| git | |
| make | |
| glib2-devel | |
| mingw-w64-x86_64-go | |
| mingw-w64-x86_64-gtk3 | |
| mingw-w64-x86_64-glib2 | |
| mingw-w64-x86_64-gcc | |
| mingw-w64-x86_64-pkg-config | |
| - name: Patch pkgconfig (Windows) | |
| if: runner.os == 'Windows' | |
| run: | | |
| sed -i -e 's/-Wl,-luuid/-luuid/g' /mingw64/lib/pkgconfig/gdk-3.0.pc | |
| ####################################################### | |
| ## Caching Go modules and GTK dependencies | |
| - name: Get Go environment | |
| id: go-env | |
| run: | | |
| echo "cache=$(go env GOCACHE)" >> $GITHUB_ENV | |
| echo "modcache=$(go env GOMODCACHE)" >> $GITHUB_ENV | |
| echo "lintcache=$HOME/.cache/golangci-lint" >> $GITHUB_ENV | |
| # Example for caching Go dependencies: | |
| # https://github.com/actions/cache/blob/main/examples.md#go---modules | |
| - uses: actions/cache@v4 | |
| id: cache | |
| with: | |
| path: | | |
| ${{ env.cache }} | |
| ${{ env.modcache }} | |
| ${{ env.lintcache }} | |
| key: ${{ matrix.name }}-go-${{ hashFiles('**/go.sum') }} | |
| restore-keys: | | |
| ${{ matrix.name }}-go- | |
| ####################################################### | |
| - name: Install GTK | |
| if: steps.cache.outputs.cache-hit != 'true' | |
| run: go install github.com/gotk3/gotk3/gtk | |
| - name: Build the GUI binary | |
| run: make build_gui | |
| - name: Lint check (Linux only) | |
| if: runner.os == 'Linux' | |
| uses: golangci/golangci-lint-action@v8 | |
| with: | |
| version: v2.4.0 | |
| args: --build-tags gtk |