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
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: monthly
- package-ecosystem: cargo
directory: "/"
schedule:
Expand Down
16 changes: 10 additions & 6 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,18 @@ jobs:
INFURA_PROJECT_ID: ${{ secrets.INFURA_PROJECT_ID }}
PK: ${{ secrets.PK }}
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- uses: actions-rs/toolchain@b2417cde72dcf67f306c0ae8e0828a81bf0b189f # v1.0.6
with:
toolchain: ${{ matrix.rust }}
profile: minimal
components: rustfmt, clippy
default: true
- uses: Swatinem/rust-cache@v1
- uses: foundry-rs/foundry-toolchain@v1
- uses: actions/setup-node@v3
- uses: Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # v2.8.0
- uses: foundry-rs/foundry-toolchain@82dee4ba654bd2146511f85f0d013af94670c4de # v1.4.0
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: '18'
- run: cargo fmt -- --check
Expand All @@ -51,7 +53,7 @@ jobs:
(cd ethcontract-derive && cargo test)
(cd ethcontract-generate && cargo test)
- run: |
if ${{ matrix.examples }}; then
if $EXAMPLES; then
anvil -p 9545 &
# wait for anvil to start
while ! curl --silent http://127.0.0.1:9545; do
Expand All @@ -72,3 +74,5 @@ jobs:
# fi
kill %1
fi
env:
EXAMPLES: ${{ matrix.examples }}
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ on:
jobs:
release:
runs-on: ubuntu-latest
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- run: ci/deploy.sh --tag ${GITHUB_REF#refs/tags/}
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_TOKEN }}
Loading