-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
104 additions
and
102 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
#--- | ||
#on: | ||
# push: | ||
# branches: | ||
# - main | ||
# - develop | ||
# pull_request: | ||
# schedule: | ||
# - cron: "30 5 * * *" | ||
# workflow_dispatch: | ||
# | ||
#name: "Contract Security Analysis" | ||
#jobs: | ||
# contract_analysis: | ||
# name: "Shared" | ||
# uses: aurora-is-near/.github/.github/workflows/contract_analysis.yml@master | ||
# secrets: inherit | ||
--- | ||
on: | ||
push: | ||
branches: | ||
- main | ||
- develop | ||
pull_request: | ||
schedule: | ||
- cron: "30 5 * * *" | ||
workflow_dispatch: | ||
|
||
name: "Contract Security Analysis" | ||
jobs: | ||
contract_analysis: | ||
name: "Shared" | ||
uses: aurora-is-near/.github/.github/workflows/contract_analysis.yml@master | ||
secrets: inherit |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,57 @@ | ||
#--- | ||
#on: | ||
# push: | ||
# branches: | ||
# - master | ||
# - develop | ||
# pull_request: | ||
# | ||
#name: Lints | ||
#jobs: | ||
# fmt: | ||
# name: Format | ||
# runs-on: [self-hosted, light] | ||
# steps: | ||
# - name: Potential broken submodules fix | ||
# run: | | ||
# git checkout -f $(git -c user.name=x -c user.email=x@x commit-tree $(git hash-object -t tree /dev/null) < /dev/null) || : | ||
# - name: Clone the repository | ||
# uses: actions/checkout@v3 | ||
# - name: Run cargo fmt | ||
# run: cargo make check-fmt | ||
# clippy: | ||
# name: Clippy | ||
# runs-on: [self-hosted, heavy] | ||
# steps: | ||
# - name: Potential broken submodules fix | ||
# run: | | ||
# git checkout -f $(git -c user.name=x -c user.email=x@x commit-tree $(git hash-object -t tree /dev/null) < /dev/null) || : | ||
# - name: Clone the repository | ||
# uses: actions/checkout@v3 | ||
# - run: cargo make build-contracts | ||
# - name: Run Contract cargo clippy | ||
# run: cargo make clippy | ||
# udeps: | ||
# name: Udeps | ||
# runs-on: [self-hosted, heavy] | ||
# steps: | ||
# - name: Potential broken submodules fix | ||
# run: | | ||
# git checkout -f $(git -c user.name=x -c user.email=x@x commit-tree $(git hash-object -t tree /dev/null) < /dev/null) || : | ||
# - name: Clone the repository | ||
# uses: actions/checkout@v3 | ||
# - name: Run udeps | ||
# run: cargo make udeps | ||
# contracts: | ||
# name: Contracts | ||
# runs-on: [self-hosted, light] | ||
# steps: | ||
# - name: Potential broken submodules fix | ||
# run: | | ||
# git checkout -f $(git -c user.name=x -c user.email=x@x commit-tree $(git hash-object -t tree /dev/null) < /dev/null) || : | ||
# - name: Clone the repository | ||
# uses: actions/checkout@v3 | ||
# - name: Run yarn lint | ||
# run: cargo make check-contracts | ||
# - name: Check committed EvmErc20.bin | ||
# run: bash scripts/verify_evm_erc20.sh | ||
--- | ||
on: | ||
push: | ||
branches: | ||
- master | ||
- develop | ||
pull_request: | ||
|
||
name: Lints | ||
jobs: | ||
fmt: | ||
name: Format | ||
runs-on: [self-hosted, light] | ||
steps: | ||
- name: Potential broken submodules fix | ||
run: | | ||
git checkout -f $(git -c user.name=x -c user.email=x@x commit-tree $(git hash-object -t tree /dev/null) < /dev/null) || : | ||
- name: Clone the repository | ||
uses: actions/checkout@v3 | ||
- name: Run cargo fmt | ||
run: cargo make check-fmt | ||
clippy: | ||
name: Clippy | ||
runs-on: [self-hosted, heavy] | ||
steps: | ||
- name: Potential broken submodules fix | ||
run: | | ||
git checkout -f $(git -c user.name=x -c user.email=x@x commit-tree $(git hash-object -t tree /dev/null) < /dev/null) || : | ||
- name: Clone the repository | ||
uses: actions/checkout@v3 | ||
- run: cargo make build-contracts | ||
- name: Run Contract cargo clippy | ||
run: cargo make clippy | ||
udeps: | ||
name: Udeps | ||
runs-on: [self-hosted, heavy] | ||
steps: | ||
- name: Potential broken submodules fix | ||
run: | | ||
git checkout -f $(git -c user.name=x -c user.email=x@x commit-tree $(git hash-object -t tree /dev/null) < /dev/null) || : | ||
- name: Clone the repository | ||
uses: actions/checkout@v3 | ||
- name: Run udeps | ||
run: cargo make udeps | ||
contracts: | ||
name: Contracts | ||
runs-on: [self-hosted, light] | ||
steps: | ||
- name: Potential broken submodules fix | ||
run: | | ||
git checkout -f $(git -c user.name=x -c user.email=x@x commit-tree $(git hash-object -t tree /dev/null) < /dev/null) || : | ||
- name: Clone the repository | ||
uses: actions/checkout@v3 | ||
- name: Run yarn lint | ||
run: cargo make check-contracts | ||
- name: Check committed EvmErc20.bin | ||
run: bash scripts/verify_evm_erc20.sh |
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