Skip to content

Commit

Permalink
Merge pull request #46 from aurora-is-near/sync-30-04
Browse files Browse the repository at this point in the history
Sync with origin
  • Loading branch information
spilin authored May 6, 2024
2 parents 1bc6a39 + e29f50c commit dd9c0d4
Show file tree
Hide file tree
Showing 756 changed files with 43,474 additions and 15,242 deletions.
11 changes: 2 additions & 9 deletions .dialyzer-ignore
Original file line number Diff line number Diff line change
@@ -1,20 +1,13 @@
:0: Unknown function 'Elixir.ExUnit.Callbacks':'__merge__'/3
:0: Unknown function 'Elixir.ExUnit.CaseTemplate':'__proxy__'/2
:0: Unknown type 'Elixir.Map':t/0
:0: Unknown type 'Elixir.Hash':t/0
:0: Unknown type 'Elixir.Address':t/0
lib/ethereum_jsonrpc/rolling_window.ex:171
lib/explorer/smart_contract/solidity/publisher_worker.ex:1
lib/explorer/smart_contract/vyper/publisher_worker.ex:1
lib/explorer/smart_contract/solidity/publisher_worker.ex:8
lib/explorer/smart_contract/vyper/publisher_worker.ex:8
lib/block_scout_web/router.ex:1
lib/block_scout_web/schema/types.ex:31
lib/phoenix/router.ex:324
lib/phoenix/router.ex:402
lib/explorer/smart_contract/reader.ex:435
lib/explorer/exchange_rates/source.ex:139
lib/explorer/exchange_rates/source.ex:142
lib/block_scout_web/cldr.ex:1
lib/block_scout_web/views/api/v2/transaction_view.ex:431
lib/block_scout_web/views/api/v2/transaction_view.ex:472
lib/explorer/chain/transaction.ex:170
lib/explorer/chain/transaction.ex:171
23 changes: 23 additions & 0 deletions .github/actions/setup-repo-and-short-sha/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: 'Setup repo and calc short SHA commit'
description: 'Setup repo: checkout/login/extract metadata, Set up Docker Buildx and calculate short SHA commit'
inputs:
docker-username:
description: 'Docker username'
required: true
docker-password:
description: 'Docker password'
required: true
runs:
using: "composite"

steps:
- uses: actions/checkout@v4
- name: Setup repo
uses: ./.github/actions/setup-repo
with:
docker-username: ${{ inputs.docker-username }}
docker-password: ${{ inputs.docker-password }}

- name: Add SHORT_SHA env property with commit short sha
shell: bash
run: echo "SHORT_SHA=`echo ${GITHUB_SHA} | cut -c1-8`" >> $GITHUB_ENV
29 changes: 29 additions & 0 deletions .github/actions/setup-repo/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: 'Setup repo'
description: 'Setup repo: checkout/login/extract metadata, Set up Docker Buildx'
inputs:
docker-username:
description: 'Docker username'
required: true
docker-password:
description: 'Docker password'
required: true
runs:
using: "composite"
steps:
- name: Check out the repo
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ inputs.docker-username }}
password: ${{ inputs.docker-password }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: blockscout/blockscout
4 changes: 2 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ updates:
directory: "/apps/block_scout_web/assets"
open-pull-requests-limit: 10
schedule:
interval: "weekly"
interval: "monthly"
ignore:
- dependency-name: "bootstrap"
- dependency-name: "web3"
Expand All @@ -20,4 +20,4 @@ updates:
directory: "/apps/explorer"
open-pull-requests-limit: 10
schedule:
interval: "weekly"
interval: "monthly"
Loading

0 comments on commit dd9c0d4

Please sign in to comment.