Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
221 commits
Select commit Hold shift + click to select a range
dc30411
start of project
QuantumExplorer Feb 27, 2023
e6bf9e8
removed unnecessary files
QuantumExplorer Mar 15, 2023
86d5192
feat(rs-drive-abci)!: direct communication between Tenderdash and rs-…
lklimek Mar 24, 2023
df9d968
Merge branch 'v0.24-dev' into feat/state_transition_execution
QuantumExplorer Mar 29, 2023
67596d7
sync able
QuantumExplorer Mar 30, 2023
e119ec0
fix generics
fominok Mar 30, 2023
5ff9298
more fixes
QuantumExplorer Mar 30, 2023
2dea49e
remove unnecessary feature and more test fixes
fominok Mar 30, 2023
3eb9d42
tempdir fix
fominok Mar 30, 2023
b48c439
small fix
QuantumExplorer Mar 30, 2023
c25ea12
more work
QuantumExplorer Mar 30, 2023
cd3d301
more work
QuantumExplorer Mar 30, 2023
b888ad7
started migrating validation
QuantumExplorer Mar 30, 2023
1aef62c
more work
QuantumExplorer Mar 31, 2023
4097445
partial work
QuantumExplorer Mar 31, 2023
30d017a
more work
QuantumExplorer Mar 31, 2023
235cb59
more work
QuantumExplorer Apr 1, 2023
3a1a06d
build(rs-drive-abci): update Dockerfile to Alpine and build correctly…
lklimek Apr 1, 2023
1d041f0
more work
QuantumExplorer Apr 1, 2023
dbbfc41
wip
fominok Apr 1, 2023
8f23b8c
wip
fominok Apr 1, 2023
ad98ffc
more fixes
QuantumExplorer Apr 1, 2023
4aa7da9
Merge branch 'feat/abci_validation' of github.com:dashpay/platform in…
QuantumExplorer Apr 1, 2023
71cde88
more work on the engine
QuantumExplorer Apr 1, 2023
d91b103
more fixes
QuantumExplorer Apr 1, 2023
caa2896
more work
QuantumExplorer Apr 1, 2023
c22750f
more work
QuantumExplorer Apr 1, 2023
d8c8b6b
more fixes
QuantumExplorer Apr 1, 2023
a5496d6
more work
QuantumExplorer Apr 1, 2023
d19f027
some work on query
QuantumExplorer Apr 1, 2023
68008bc
fmt
QuantumExplorer Apr 1, 2023
60a13f1
some work on query
QuantumExplorer Apr 1, 2023
b477c5a
more fixes
QuantumExplorer Apr 1, 2023
9beaab5
more fixes
QuantumExplorer Apr 1, 2023
7661007
more fixes
QuantumExplorer Apr 1, 2023
d3d2078
fixes and _type validations for data contracts' st
fominok Apr 2, 2023
6cacca9
more work
QuantumExplorer Apr 2, 2023
ff52ddd
more work
QuantumExplorer Apr 2, 2023
6c9e146
merge
QuantumExplorer Apr 2, 2023
b40df11
semi working
QuantumExplorer Apr 2, 2023
9348272
more fixes
QuantumExplorer Apr 2, 2023
a45cf13
a bit more work
fominok Apr 2, 2023
896d722
add validations
fominok Apr 2, 2023
2c2536f
more work
QuantumExplorer Apr 2, 2023
c2392d7
merge
QuantumExplorer Apr 2, 2023
0950af5
fixes
QuantumExplorer Apr 2, 2023
1caea5f
some docs
QuantumExplorer Apr 2, 2023
f9e78f9
more work
QuantumExplorer Apr 3, 2023
d643bd6
created signing methods
QuantumExplorer Apr 3, 2023
f9689e5
more work
QuantumExplorer Apr 3, 2023
bfdefe4
work on queries
QuantumExplorer Apr 3, 2023
835899f
more work
QuantumExplorer Apr 3, 2023
a1ec539
more work
QuantumExplorer Apr 3, 2023
cd76620
trial
QuantumExplorer Apr 3, 2023
20b5228
more work
QuantumExplorer Apr 3, 2023
aaa116d
compiles
QuantumExplorer Apr 3, 2023
7d97af3
clean up;
QuantumExplorer Apr 3, 2023
e28dfba
feat(rs-drive-abci): generate validator set for tenderdash (#880)
lklimek Apr 3, 2023
8acf28a
more work
QuantumExplorer Apr 3, 2023
8bc24e0
merge
QuantumExplorer Apr 3, 2023
f294b2d
more fixes
QuantumExplorer Apr 3, 2023
eed0e07
more work
QuantumExplorer Apr 3, 2023
a3f66fa
more work
QuantumExplorer Apr 3, 2023
8171857
more fixes
QuantumExplorer Apr 3, 2023
98c22e1
first test passing
QuantumExplorer Apr 3, 2023
cb5eaef
more work
QuantumExplorer Apr 3, 2023
545578d
changed asset lock proof to default serialization
QuantumExplorer Apr 3, 2023
87e552f
more work
QuantumExplorer Apr 3, 2023
bf5b0f3
update dashcore-rpc
QuantumExplorer Apr 4, 2023
d9ef099
more work
QuantumExplorer Apr 4, 2023
c179de9
more work
QuantumExplorer Apr 4, 2023
8aa797b
more work
QuantumExplorer Apr 4, 2023
5cc9419
temp fixed asset locks
QuantumExplorer Apr 4, 2023
ec0b4f9
tests fail properly
QuantumExplorer Apr 4, 2023
0a72083
add needed rpc functions
iammadab Apr 4, 2023
08d319c
add rpc functions
iammadab Apr 4, 2023
37ca3ef
a fix
QuantumExplorer Apr 4, 2023
bd5f3e8
Merge branch 'v0.24-dev' into phoenix
QuantumExplorer Apr 4, 2023
21f6cbf
Merge branch 'phoenix' into feat/abci_validation
QuantumExplorer Apr 4, 2023
4b9e4ce
wip
fominok Apr 4, 2023
aa4a56b
commit validation
QuantumExplorer Apr 4, 2023
ca80bdf
Merge branch 'feat/abci_validation' of github.com:dashpay/platform in…
QuantumExplorer Apr 4, 2023
cdd10f5
removed execution context from state transitions
QuantumExplorer Apr 4, 2023
1e21fe2
bincode 2
QuantumExplorer Apr 4, 2023
15db5b4
more work on bincode
QuantumExplorer Apr 5, 2023
6b0244e
another transition
QuantumExplorer Apr 5, 2023
cfe1429
bincode working for all state transitions
QuantumExplorer Apr 5, 2023
e1f3bcf
more fixes
QuantumExplorer Apr 5, 2023
85b4245
more work
QuantumExplorer Apr 5, 2023
3828bf1
signing in tests
QuantumExplorer Apr 5, 2023
6405ec0
build(github): build rs-drive-abci image in github pipeline (#886)
lklimek Apr 6, 2023
c0e7b9c
wasm fixes
QuantumExplorer Apr 6, 2023
e721f10
feat(rs-drive-abci): withdrawal processing using vote extensions (#891)
lklimek Apr 6, 2023
9842c84
more work
QuantumExplorer Apr 6, 2023
7908a88
Merge branch 'feat/abci_validation' of github.com:dashpay/platform in…
QuantumExplorer Apr 6, 2023
0faacd9
some fixes
QuantumExplorer Apr 6, 2023
af2bd42
more work
QuantumExplorer Apr 7, 2023
0d51294
fix(rs-drive-abci): config file is broken (#892)
lklimek Apr 7, 2023
5135dd7
public key validation
QuantumExplorer Apr 7, 2023
502ddd7
Merge branch 'feat/abci_validation' of github.com:dashpay/platform in…
QuantumExplorer Apr 7, 2023
4d0a3ab
identity test passing
QuantumExplorer Apr 7, 2023
22bdfce
just in time partial costs
QuantumExplorer Apr 7, 2023
d49f56a
another test passing
QuantumExplorer Apr 8, 2023
bac96b2
more work
QuantumExplorer Apr 8, 2023
7132227
part 1 of data trigger port
QuantumExplorer Apr 8, 2023
1cc0dcf
more work
QuantumExplorer Apr 8, 2023
ce0422b
document uniqueness
QuantumExplorer Apr 9, 2023
af3284d
more work
QuantumExplorer Apr 9, 2023
0fa92e3
more work
QuantumExplorer Apr 9, 2023
7875546
more work
QuantumExplorer Apr 9, 2023
38e90c4
more work
QuantumExplorer Apr 9, 2023
c3f3266
more work
QuantumExplorer Apr 10, 2023
ebe32f6
more fixes
QuantumExplorer Apr 10, 2023
f927d2f
more fixes
QuantumExplorer Apr 10, 2023
6425616
all strategy tests passing
QuantumExplorer Apr 10, 2023
204a93f
more work
QuantumExplorer Apr 10, 2023
b1cb2e9
more work
QuantumExplorer Apr 10, 2023
e25f453
identity top up
QuantumExplorer Apr 10, 2023
0d9c845
refactor operation to have things other than document op
fominok Apr 10, 2023
5658b42
identity update processing
QuantumExplorer Apr 10, 2023
664f00b
Merge branch 'feat/abci_validation' of github.com:dashpay/platform in…
QuantumExplorer Apr 10, 2023
9ad59f7
wip
fominok Apr 10, 2023
c571fa5
credit withdrawal
QuantumExplorer Apr 10, 2023
b2ac89c
Merge branch 'feat/abci_validation' of github.com:dashpay/platform in…
QuantumExplorer Apr 10, 2023
6ccbdf9
more work
QuantumExplorer Apr 11, 2023
6aa4ba6
sign top up
QuantumExplorer Apr 11, 2023
13c9b16
more work on quorums
QuantumExplorer Apr 11, 2023
de7ed25
more work
QuantumExplorer Apr 11, 2023
b95dc45
identity top up strategy test
fominok Apr 11, 2023
1cd3155
fixed update identity test
QuantumExplorer Apr 12, 2023
00f7d20
more work on data triggers
QuantumExplorer Apr 12, 2023
5b27158
some more work
QuantumExplorer Apr 12, 2023
bbdcc39
Merge branch 'feat/abci_validation' of github.com:dashpay/platform in…
iammadab Apr 12, 2023
9e55fa6
new code
iammadab Apr 12, 2023
52edb25
building
iammadab Apr 12, 2023
7d40cce
return new masternode diff structure
iammadab Apr 12, 2023
f09f9a8
change interface to make use of Masternode return in diff
iammadab Apr 12, 2023
a53c89f
more work
QuantumExplorer Apr 12, 2023
caef54d
fixes
QuantumExplorer Apr 12, 2023
529ac3d
more fixes
QuantumExplorer Apr 12, 2023
17d58d6
clippy fixes
QuantumExplorer Apr 12, 2023
5ed18dd
fixed unused imports
QuantumExplorer Apr 12, 2023
d468376
identity update add keys
QuantumExplorer Apr 12, 2023
c51550d
identity update disable keys
QuantumExplorer Apr 12, 2023
0ccc659
tests passing again
QuantumExplorer Apr 12, 2023
adb24e6
more fixes
QuantumExplorer Apr 12, 2023
6e912f2
more work
QuantumExplorer Apr 13, 2023
c15cd3d
more fixes
QuantumExplorer Apr 13, 2023
f4d5355
more fixes
QuantumExplorer Apr 13, 2023
78f0130
building again
iammadab Apr 13, 2023
543c001
creating the identity + identifier in one step
iammadab Apr 13, 2023
c43b7c3
more work
iammadab Apr 13, 2023
906efd3
move masternode identities to a module
iammadab Apr 14, 2023
8861ac9
Merge branch 'feat/abci_validation' into feat/update-masternode-ident…
iammadab Apr 14, 2023
98700ce
feat: update masternode identities (#914)
QuantumExplorer Apr 14, 2023
eef0b9a
contract update test'
QuantumExplorer Apr 14, 2023
692f3a1
Merge branch 'feat/abci_validation' of github.com:dashpay/platform in…
QuantumExplorer Apr 14, 2023
497288e
more work
QuantumExplorer Apr 14, 2023
02fc580
merged in phoenix
QuantumExplorer Apr 14, 2023
4e25300
compiles again
QuantumExplorer Apr 14, 2023
e71f0fd
wip
iammadab Apr 14, 2023
1cdf37a
wip
iammadab Apr 14, 2023
0e6ae61
more work
QuantumExplorer Apr 15, 2023
2b78e74
more work
QuantumExplorer Apr 16, 2023
bf6a2a8
more work
QuantumExplorer Apr 16, 2023
e89fac8
more fixes
QuantumExplorer Apr 17, 2023
8c1be74
compiles again
QuantumExplorer Apr 17, 2023
5828fcf
init chain fix
QuantumExplorer Apr 17, 2023
be8ec50
tests passing again
QuantumExplorer Apr 17, 2023
8782227
small fix
QuantumExplorer Apr 17, 2023
66c80c2
Merge branch 'feat/abci_validation' of github.com:dashpay/platform in…
iammadab Apr 17, 2023
3417673
more work
iammadab Apr 17, 2023
17ada85
feat: masternode identities (#918)
QuantumExplorer Apr 17, 2023
f79565f
more work
QuantumExplorer Apr 17, 2023
16e650a
more work
QuantumExplorer Apr 17, 2023
8f5ab5e
Merge branch 'feat/abci_validation' of github.com:dashpay/platform in…
QuantumExplorer Apr 17, 2023
dde2b1e
temporarily disabled update_masternode_identities
QuantumExplorer Apr 17, 2023
bb4d5d8
fixes
QuantumExplorer Apr 17, 2023
d09d3b8
more work
QuantumExplorer Apr 18, 2023
2c749f2
a lot of work on data triggers
QuantumExplorer Apr 18, 2023
bc5075e
more work on data triggers
QuantumExplorer Apr 18, 2023
c95bd32
almost done
QuantumExplorer Apr 18, 2023
322b40d
more work on tests
QuantumExplorer Apr 18, 2023
e4b2f1c
cleaning and more fixes
QuantumExplorer Apr 18, 2023
50ae17b
tests compile
QuantumExplorer Apr 18, 2023
4db841d
more work on data triggers
QuantumExplorer Apr 18, 2023
60ba256
more work
QuantumExplorer Apr 18, 2023
56b8de9
feat(rs-drive-abci)!: commit and vote extensions signature verificati…
lklimek Apr 18, 2023
380987e
another fix
QuantumExplorer Apr 18, 2023
0d87c93
Merge branch 'feat/abci_validation' of github.com:dashpay/platform in…
QuantumExplorer Apr 18, 2023
7bcc7a8
fixed dpp tests
QuantumExplorer Apr 18, 2023
5e4218b
many wasm fixes
QuantumExplorer Apr 18, 2023
8d8eb24
more fixes
QuantumExplorer Apr 18, 2023
9f3ee81
feat: persist ephemeral state (#924)
iammadab Apr 18, 2023
78ea636
fix test
iammadab Apr 18, 2023
67d53e4
Merge branch 'feat/abci_validation' of github.com:dashpay/platform in…
iammadab Apr 18, 2023
57f1bed
fixes for commit signing
QuantumExplorer Apr 19, 2023
343a6de
Merge branch 'feat/abci_validation' of github.com:dashpay/platform in…
QuantumExplorer Apr 19, 2023
50bb16a
better deserialization
QuantumExplorer Apr 19, 2023
87c60da
moved Epoch and Block Info to DPP
QuantumExplorer Apr 19, 2023
2cac2a4
stop and restart tests
QuantumExplorer Apr 19, 2023
ea79546
feat(dashmate): replace js-drive-abci with rs-drive-abci (#926)
lklimek Apr 19, 2023
6ca4015
test: fix rs-dpp tests (#937)
Apr 19, 2023
c883e4b
more fixes
QuantumExplorer Apr 19, 2023
722fbd3
more work
QuantumExplorer Apr 19, 2023
78ece0c
init chain on same transaction
QuantumExplorer Apr 19, 2023
868ae08
upgrade tests fixed
QuantumExplorer Apr 19, 2023
2dfe935
Merge branch 'feat/abci_validation' into feat/abci-nightly
QuantumExplorer Apr 19, 2023
795a9af
another fix
QuantumExplorer Apr 19, 2023
494833f
cargo fix
QuantumExplorer Apr 19, 2023
b55e1c7
cargo fix
QuantumExplorer Apr 19, 2023
03e5d32
clippy fixes
QuantumExplorer Apr 19, 2023
2a37099
more fixes
QuantumExplorer Apr 19, 2023
26b4eab
linked bls sigs through dpp
QuantumExplorer Apr 19, 2023
6f98d93
fixed withdrawals
QuantumExplorer Apr 20, 2023
2a54d4b
refactor(js-drive): remove obsolete javascript code (js-drive, rs-dri…
lklimek Apr 20, 2023
4068dae
Abci nightly (#940)
QuantumExplorer Apr 20, 2023
c0c26a3
fmt
QuantumExplorer Apr 20, 2023
d635a8f
fix(github): use clang instead of gcc (#942)
lklimek Apr 20, 2023
2bcb68a
fixes
QuantumExplorer Apr 20, 2023
607af90
Merge branch 'feat/abci_validation' of github.com:dashpay/platform in…
QuantumExplorer Apr 20, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
105 changes: 105 additions & 0 deletions .github/actions/docker/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
---
name: "Build Docker image"
description: "Build Docker image with Rust caching"
inputs:
dockerfile:
description: Path to the Dockerfile, for example `./Dockerfile`
required: true
image:
description: Name of image in Docker Hub, like `dashpay/drive`
required: true
push:
description: Shall we push the image to Docker Hub?
default: "false"
dockerhub_username:
description: User name to use when pushing images to Docker Hub
required: false
dockerhub_token:
description: Docker Hub token to use
required: false
image_tag:
description: Docker image tag
default: ${{ github.head_ref || github.ref_name }}

runs:
using: composite
steps:
- name: Setup sccache
uses: mozilla-actions/sccache-action@v0.0.3

- name: Set up QEMU
uses: docker/setup-qemu-action@master
with:
platforms: amd64,arm64

- name: Set up Docker Build
uses: docker/setup-buildx-action@v2.4.1

- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ inputs.dockerhub_username }}
password: ${{ inputs.dockerhub_token }}
if: inputs.dockerhub_token != ''

- name: Set suffix
uses: actions/github-script@v6
id: suffix
with:
result-encoding: string
script: |
const fullTag = '${{inputs.image_tag}}';
if (fullTag.includes('-')) {
const [, fullSuffix] = fullTag.split('-');
const [suffix] = fullSuffix.split('.');
return `-${suffix}`;
} else {
return '';
}

- name: Set Docker tags and labels
id: docker_meta
uses: docker/metadata-action@v4
with:
images: ${{ inputs.image }}
tags: |
type=match,pattern=v(\d+),group=1,value=${{inputs.image_tag}}
type=match,pattern=v(\d+.\d+),group=1,value=${{inputs.image_tag}}
type=match,pattern=v(\d+.\d+.\d+),group=1,value=${{inputs.image_tag}}
type=match,pattern=v(.*),group=1,value=${{inputs.image_tag}},suffix=
flavor: |
suffix=${{ steps.suffix.outputs.result }},onlatest=true
latest=${{ github.event_name == 'release' }}

# ARM build takes very long time, so we build PRs for AMD64 only
- name: Select target platforms
shell: bash
id: select_platforms
run: |
if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]] ; then
echo "build_platforms=linux/amd64" >> $GITHUB_ENV
else
echo "build_platforms=linux/amd64,linux/arm64" >> $GITHUB_ENV
fi

- name: Build and push Docker image ${{ inputs.image }}
id: docker_build
uses: docker/build-push-action@v4.0.0
with:
context: .
file: ${{ inputs.dockerfile }}
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}
build-args: |
SCCACHE_GHA_ENABLED=true
ACTIONS_CACHE_URL=${{ env.ACTIONS_CACHE_URL }}
ACTIONS_RUNTIME_TOKEN=${{ env.ACTIONS_RUNTIME_TOKEN }}
CARGO_BUILD_PROFILE=dev
platforms: ${{ env.build_platforms }}
push: ${{ inputs.push }}
cache-from: |
type=gha
# In practice, time spent preparing images is much lower than build.
# We minimize cached info to leave more space for sccache cache.
cache-to: |
type=gha,mode=min
57 changes: 57 additions & 0 deletions .github/actions/rust/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
---
name: "Rust Dependencies"
description: "Install dependencies"
inputs:
toolchain:
description: Rust toolchain to use, stable / nightly / beta
default: stable
target:
description: Target Rust platform
required: false

components:
description: List of additional Rust toolchain components to install
required: false
runs:
using: composite
steps:
- uses: dtolnay/rust-toolchain@master
name: Install Rust toolchain
with:
toolchain: ${{ inputs.toolchain }}
target: ${{ inputs.target }}
components: ${{ inputs.components }}

- name: Install protoc
id: deps-protoc
shell: bash
run: |
curl -Lo /tmp/protoc.zip \
https://github.com/protocolbuffers/protobuf/releases/download/v22.0/protoc-22.0-linux-x86_64.zip
unzip /tmp/protoc.zip -d ${HOME}/.local
echo "PROTOC=${HOME}/.local/bin/protoc" >> $GITHUB_ENV
export PATH="${PATH}:${HOME}/.local/bin"

- name: Install sccache cache
uses: mozilla-actions/sccache-action@v0.0.3
- name: Set sccache Rust variables
shell: bash
run: |
echo SCCACHE_GHA_ENABLED=true >> $GITHUB_ENV
echo RUSTC_WRAPPER=sccache >> $GITHUB_ENV

- name: Rust cache
uses: Swatinem/rust-cache@v2
with:
# Don't cache ./target, as it takes tons of space, use sccache instead.
cache-targets: false
# We set a shared key, as our cache is reusable between jobs
shared-key: rust-cargo

- name: Install clang
id: deps-clang
shell: bash
run: |
sudo apt update -qq
sudo apt install -qq --yes clang
sudo update-alternatives --set cc /usr/bin/clang
28 changes: 11 additions & 17 deletions .github/workflows/all-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- master
- v[0-9]+\.[0-9]+-dev
schedule:
- cron: '30 4 * * *'
- cron: "30 4 * * *"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -28,7 +28,7 @@ jobs:
- name: Setup Node.JS
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: "16"

- name: Enable corepack
run: corepack enable
Expand Down Expand Up @@ -73,17 +73,14 @@ jobs:
- name: Setup Node.JS
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: "16"

- name: Setup Rust
uses: dtolnay/rust-toolchain@master
uses: ./.github/actions/rust
with:
toolchain: stable
target: wasm32-unknown-unknown

- name: Enable Rust cache
uses: Swatinem/rust-cache@v2

- name: Enable corepack
run: corepack enable

Expand All @@ -93,7 +90,7 @@ jobs:
- name: Enable Yarn unplugged modules cache
uses: actions/cache@v3
with:
path: '.yarn/unplugged'
path: ".yarn/unplugged"
key: ${{ runner.os }}-yarn-unplugged-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-unplugged-
Expand Down Expand Up @@ -151,17 +148,14 @@ jobs:
- name: Setup Node.JS
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: "16"

- name: Setup Rust
uses: dtolnay/rust-toolchain@master
uses: ./.github/actions/rust
with:
toolchain: stable
target: wasm32-unknown-unknown

- name: Enable Rust cache
uses: Swatinem/rust-cache@v2

- name: Enable corepack
run: corepack enable

Expand All @@ -171,7 +165,7 @@ jobs:
- name: Enable Yarn unplugged modules cache
uses: actions/cache@v3
with:
path: '.yarn/unplugged'
path: ".yarn/unplugged"
key: ${{ runner.os }}-yarn-unplugged-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-unplugged-
Expand Down Expand Up @@ -232,7 +226,7 @@ jobs:
- name: Setup Node.JS
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: "16"

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand All @@ -241,7 +235,7 @@ jobs:
config-file: ./.github/codeql/codeql-config.yml

- name: Setup Rust
uses: dtolnay/rust-toolchain@master
uses: ./.github/actions/rust
with:
toolchain: stable
target: wasm32-unknown-unknown
Expand All @@ -259,7 +253,7 @@ jobs:
- name: Enable Yarn unplugged modules cache
uses: actions/cache@v3
with:
path: '.yarn/unplugged'
path: ".yarn/unplugged"
key: ${{ runner.os }}-yarn-unplugged-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-unplugged-
Expand Down
20 changes: 7 additions & 13 deletions .github/workflows/js-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,14 @@ jobs:
- name: Setup Node.JS
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: "16"

- name: Setup Rust
uses: dtolnay/rust-toolchain@master
uses: ./.github/actions/rust
with:
toolchain: stable
target: wasm32-unknown-unknown

- name: Enable Rust cache
uses: Swatinem/rust-cache@v2

- name: Enable corepack
run: corepack enable

Expand All @@ -55,7 +52,7 @@ jobs:
- name: Enable Yarn unplugged modules cache
uses: actions/cache@v3
with:
path: '.yarn/unplugged'
path: ".yarn/unplugged"
key: ${{ runner.os }}-yarn-unplugged-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-unplugged-
Expand All @@ -79,25 +76,22 @@ jobs:
uses: browser-actions/setup-firefox@latest
if: ${{ inputs.install-browsers }}
with:
firefox-version: 'latest'
firefox-version: "latest"

- name: Check out repo
uses: actions/checkout@v3

- name: Setup Node.JS
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: "16"

- name: Setup Rust
uses: dtolnay/rust-toolchain@master
uses: ./.github/actions/rust
with:
toolchain: stable
target: wasm32-unknown-unknown

- name: Enable Rust cache
uses: Swatinem/rust-cache@v2

- name: Enable corepack
run: corepack enable

Expand All @@ -107,7 +101,7 @@ jobs:
- name: Enable Yarn unplugged modules cache
uses: actions/cache@v3
with:
path: '.yarn/unplugged'
path: ".yarn/unplugged"
key: ${{ runner.os }}-yarn-unplugged-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-unplugged-
Expand Down
Loading