Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing GA #66

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
ff55fdb
fix: PaymentRequestInfoData set to be public
x1m3 Dec 2, 2024
2ad871f
feat: Changed PaymentRequestInfoData from a struct to a slice type ([…
x1m3 Dec 2, 2024
04cc938
fix: Remove wrong obsolete comment
x1m3 Dec 2, 2024
14457f3
fix: PaymentProof is now a list of PayProofItem and can be constructed
x1m3 Dec 3, 2024
09de990
chore: linter complains. Avoid unneded data copy in a loop
x1m3 Dec 3, 2024
b5571f8
chore: Update golangci-lint version
x1m3 Dec 3, 2024
0ad4351
chore: debug branch name and fix go version with one in go.mod
x1m3 Dec 3, 2024
6df1f05
fix: debug branch name
x1m3 Dec 3, 2024
205def7
fix: In linter, run action checkout before action setup
x1m3 Dec 3, 2024
2e1f8ee
fix: In linter, fix cache usage by linter
x1m3 Dec 3, 2024
26ef6bd
fix: In linter, fix cache usage by linter
x1m3 Dec 3, 2024
90f6bdf
chore: Remove debug git branch
x1m3 Dec 3, 2024
c266711
chore: Update go version and libraries
x1m3 Dec 3, 2024
be2fc2c
Revert "chore: Update go version and libraries"
x1m3 Dec 3, 2024
404c2aa
Revert "chore: Remove debug git branch"
x1m3 Dec 3, 2024
89e68b9
Revert "fix: In linter, fix cache usage by linter"
x1m3 Dec 3, 2024
41639c0
Revert "fix: In linter, fix cache usage by linter"
x1m3 Dec 3, 2024
63cc913
Revert "fix: In linter, run action checkout before action setup"
x1m3 Dec 3, 2024
9540028
Revert "fix: debug branch name"
x1m3 Dec 3, 2024
b685ba3
Revert "chore: debug branch name and fix go version with one in go.mod"
x1m3 Dec 3, 2024
df0d793
Revert "chore: Update golangci-lint version"
x1m3 Dec 3, 2024
24a8646
chore: Revert test package to internal
x1m3 Dec 3, 2024
2eb2d33
feat: Do not support 1.18 version
x1m3 Dec 3, 2024
f3c98e1
feat: Minimum version to 1.21.7
x1m3 Dec 3, 2024
eab96c0
feat: Remove GA caching
x1m3 Dec 3, 2024
c562554
Golangci checkout first.
x1m3 Dec 3, 2024
c3ab3a4
Golangci do not use cache
x1m3 Dec 3, 2024
ccee64d
Golangci try to use go mod download
x1m3 Dec 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 14 additions & 4 deletions .github/workflows/ci-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,23 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Install Go
uses: actions/setup-go@v4
with:
go-version: 1.21.0
- name: Checkout code
uses: actions/checkout@v3
go-version-file: go.mod
cache: true

- name: Download Go modules
run: go mod tidy && go mod download

- name: Clear module cache
run: go clean -modcache

- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.54.2
version: v1.60.3
skip-cache: true
25 changes: 14 additions & 11 deletions .github/workflows/ci-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,24 @@ jobs:
test:
strategy:
matrix:
containers: [ 1.20.4, 1.19, 1.18 ]
containers: [ 1.21.7 ]
runs-on: ubuntu-latest
container: golang:${{ matrix.containers }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- uses: actions/cache@v3

- name: Set up Go
uses: actions/setup-go@v3
with:
path: |
~/.cache/go-build
/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Update go modules
run: go mod tidy
go-version-file: go.mod
cache: true

- name: Download Go modules
run: go mod tidy && go mod download

- name: Clear module cache
run: go clean -modcache

- name: Unit Tests
run: go test -v -race -timeout=60s ./...
run: go test -v -race -timeout=60s ./...
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
service:
golangci-lint-version: 1.45.x
golangci-lint-version: 1.60.3

run:
timeout: 2m
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/iden3/iden3comm/v2

go 1.18
go 1.21.7

require (
github.com/dustinxie/ecc v0.0.0-20210511000915-959544187564
Expand Down
52 changes: 52 additions & 0 deletions go.sum

Large diffs are not rendered by default.

Loading
Loading