Support for ICRC-1 transaction deduplication #125
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rust | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
workflow_dispatch: | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/${{ github.repository }}/ci-image@sha256:7015312e16dced2932d41d4cb5a9ee55cdc17b42ceeb148e809cfbd474e28c4b | |
steps: | |
- uses: actions/checkout@v4 | |
- name: dfxvm init | |
run: | | |
echo "dfxvm requires the default version to be set once after starting the container (bug!)" | |
dfxvm default 0.24.2 | |
dfx --version | |
- name: Clone Ledger Map | |
shell: bash | |
run: | | |
set -eExuo pipefail | |
( | |
cd .. | |
git clone --depth 1 https://github.com/decent-stuff/ledger-map.git | |
cd - | |
) | |
- name: Build and test | |
env: | |
# dfx requires XDG_DATA_HOME to be set | |
XDG_DATA_HOME: /usr/local | |
run: /tini -s -- cargo make |