Skip to content

chore: update Motoko version to 0.10.1 #6096

chore: update Motoko version to 0.10.1

chore: update Motoko version to 0.10.1 #6096

name: Check that nix/sources.json and scripts/dfx-asset-sources.sh are consistent
on:
pull_request:
push:
branches:
- master
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
# When getting Rust dependencies, retry on network error:
CARGO_NET_RETRY: 10
# Use the local .curlrc
CURL_HOME: .
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v18
with:
nix_path: nixpkgs=channel:nixos-21.05-small
- name: Install dependencies
run: sudo apt-get install --yes jq
- name: Check
run: |
./scripts/write-dfx-asset-sources.sh
if [ -z "$(git status --porcelain)" ]
then
exit 0
else
git diff
echo "scripts/dfx-asset-sources.sh is out of date. Please run:"
echo " scripts/write-dfx-asset-sources.sh"
exit 1
fi