Skip to content

Commit

Permalink
Updates for flow-cli release v1.12.0-cadence-v1.0.0-M4-2
Browse files Browse the repository at this point in the history
  • Loading branch information
m-Peter committed Feb 1, 2024
1 parent 1df6dc0 commit 46eac23
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,9 @@ jobs:
with:
go-version: 1.20
- name: Install Flow CLI
run: bash -ci "$(curl -fsSL https://raw.githubusercontent.com/onflow/flow-cli/master/install.sh)" -- v1.9.2-stable-cadence.1
run: bash -ci "$(curl -fsSL https://raw.githubusercontent.com/onflow/flow-cli/master/install.sh)" -- v1.12.0-cadence-v1.0.0-M4-2
- name: Run tests
run: flow test --cover --covercode="contracts" --coverprofile="coverage.lcov" tests/test_*.cdc
- name: Normalize coverage report filepaths
run : sh ./normalize_coverage_report.sh
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
Expand Down
4 changes: 0 additions & 4 deletions normalize_coverage_report.sh

This file was deleted.

2 changes: 1 addition & 1 deletion tests/test_array_utils.cdc
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ fun testTransform() {
]

// Act
ArrayUtils.transform(&tokens, fun (t: AnyStruct): AnyStruct {
ArrayUtils.transform(&tokens as auth(Mutate) &[Token], fun (t: AnyStruct): AnyStruct {
let token = t as! &Token
token.setBalance(token.balance * 2)
return Token(id: token.id, balance: token.balance)
Expand Down

0 comments on commit 46eac23

Please sign in to comment.