Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
7 changes: 6 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
pull_request:
branches: [main]

# No default top level permissions
permissions: {}

env:
# needed to stop rate limiting of compact download.
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -37,10 +40,12 @@ jobs:
# https://github.com/Menci/vite-plugin-wasm/pull/73
- name: Install dependencies
run: npm ci --legacy-peer-deps
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Install compactc
env:
COMPACT_VERSION: 0.24.0
COMPACT_VERSION: 0.26.0
run: |
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/midnightntwrk/compact/releases/latest/download/compact-installer.sh | sh
compact update $COMPACT_VERSION
Expand Down
2 changes: 1 addition & 1 deletion contract/src/bboard.compact
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

pragma language_version >= 0.16 && <= 0.17;
pragma language_version >= 0.16 && <= 0.18;

import CompactStandardLibrary;

Expand Down
6 changes: 4 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
]
},
"dependencies": {
"@midnight-ntwrk/compact-runtime": "^0.8.1",
"@midnight-ntwrk/compact-runtime": "^0.9.0",
"@midnight-ntwrk/dapp-connector-api": "^3.0.0",
"@midnight-ntwrk/ledger": "^4.0.0",
"@midnight-ntwrk/midnight-js-contracts": "^2.0.2",
Expand Down
Loading