Skip to content

Commit b394066

Browse files
highskorebjartek
andauthored
refactor: depreacte USDC/FUSD (#398)
* refactor: depreacte USDC, add FlowToUSD Oracle support * chore(FIND): remove FUSD mentions from reverts * Feat/register with flow bjartek (#399) * fixed some test errors * remove deprecated stuff * fix ci * fix remaining tests, NB! We need to know if a user does not have FindLeaseSaleCollection setup like we do in createProfile, and if not create it * trying to fix maxAmount paradigm for registering names (#401) * Feat/register with flow max amount (#402) * trying to fix maxAmount paradigm for registering names * fixed find test * create new client * add script to get flow in usd * flow to usd * bump patch * add propper client * update client with new price in flow script * use pub * fix transactions we need to run to fix this --------- Co-authored-by: Bjarte S. Karlsen <bjarte@find.xyz> Co-authored-by: Bjarte Stien Karlsen <bjarte@bjartek.org>
1 parent 6ba3bb2 commit b394066

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+2544
-3106
lines changed

.github/workflows/ci.yaml

Lines changed: 10 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ jobs:
88
lint:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/setup-go@v3
11+
- uses: actions/setup-go@v5
1212
with:
13-
go-version: 1.18
13+
go-version: "1.22"
1414
- name: Checkout code
15-
uses: actions/checkout@v3
15+
uses: actions/checkout@v4
1616
- name: golangci-lint
1717
uses: golangci/golangci-lint-action@v3
1818
with:
@@ -21,10 +21,10 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- name: Checkout code
24-
uses: actions/checkout@v3
25-
- uses: actions/setup-go@v3
24+
uses: actions/checkout@v4
25+
- uses: actions/setup-go@v5
2626
with:
27-
go-version: 1.18
27+
go-version: "1.22"
2828
- uses: actions/cache@v2
2929
with:
3030
path: |
@@ -35,7 +35,7 @@ jobs:
3535
${{ runner.os }}-go-
3636
- uses: zencargo/github-action-go-mod-tidy@v1
3737
with:
38-
go-version: 1.18
38+
go-version: "1.22"
3939

4040
test:
4141
runs-on: ubuntu-latest
@@ -46,23 +46,14 @@ jobs:
4646
MAINNET_FIND_ADMIN: "98ebfd2fa655cea228bd307e0e838cf3bdf08f8dde0b9baa6054c54b462b3acc"
4747
steps:
4848
- name: Checkout code
49-
uses: actions/checkout@v3
50-
- uses: actions/setup-go@v3
49+
uses: actions/checkout@v4
50+
- uses: actions/setup-go@v5
5151
with:
52-
go-version: 1.18
53-
- uses: actions/cache@v3
54-
with:
55-
path: |
56-
~/go/pkg/mod
57-
~/.cache/go-build
58-
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
59-
restore-keys: |
60-
${{ runner.os }}-go-
52+
go-version: "1.22"
6153
- name: run tests
6254
run: go test -timeout 30m -json ./... > test.json
6355
- name: Annotate tests
6456
if: always()
6557
uses: guyarb/golang-test-annotations@v0.5.0
6658
with:
6759
test-results: test.json
68-

0 commit comments

Comments
 (0)