Skip to content

Moved implementation of HashBytes and SpongeHash from go-iden3-crypto… #1

Moved implementation of HashBytes and SpongeHash from go-iden3-crypto…

Moved implementation of HashBytes and SpongeHash from go-iden3-crypto… #1

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.23.x
- uses: golangci/golangci-lint-action@v6
with:
version: v1.63.2
test:
strategy:
matrix:
go-version: [ 1.23.x ]
goarch: [ "amd64", "386" ]
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
env:
GOARCH: ${{ matrix.goarch }}
- name: Checkout code
uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Test
env:
GOARCH: ${{ matrix.goarch }}
run: go test -race ./...