这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
133 commits
Select commit Hold shift + click to select a range
b535637
Revert "automated duplicating imported samples modifications (#595)"
robGG1997 Sep 14, 2023
95fb832
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Sep 14, 2023
e3ab3c2
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Sep 14, 2023
a536df0
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Sep 15, 2023
c12a0de
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Sep 18, 2023
8e1ea0a
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Sep 18, 2023
1318cd7
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Sep 21, 2023
33b8e52
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Sep 22, 2023
0a205bd
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Sep 25, 2023
df4795a
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Sep 29, 2023
abc34f6
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Sep 29, 2023
031e8d3
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Oct 18, 2023
3a4bdd9
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Oct 24, 2023
67d871d
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Oct 25, 2023
3c1d099
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Oct 30, 2023
ed22cb7
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Oct 31, 2023
4c8b282
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 1, 2023
ea609de
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 2, 2023
adcb974
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 2, 2023
77dd93a
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 3, 2023
12af139
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 7, 2023
3080de3
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 8, 2023
87a1dcc
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 8, 2023
f25d202
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 9, 2023
300d906
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 14, 2023
f28d9f4
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 16, 2023
ab26fa3
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 17, 2023
c5c0cb4
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 17, 2023
a1671d7
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 20, 2023
a4755d1
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 21, 2023
6ca4ea7
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 21, 2023
07cee0a
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 22, 2023
f2bb351
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 23, 2023
b064568
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 23, 2023
02606c0
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 23, 2023
6644661
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 27, 2023
93e8fbe
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Dec 6, 2023
5881543
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Dec 7, 2023
a2cdc0e
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Dec 11, 2023
9765f8d
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Dec 11, 2023
fc7269a
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Dec 12, 2023
0fe7628
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Dec 12, 2023
bba537e
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Dec 13, 2023
9930e97
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Dec 13, 2023
1f1d439
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Dec 14, 2023
da2418a
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Dec 15, 2023
8a5be99
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Jan 18, 2024
cea3e2b
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Jan 18, 2024
718bf99
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Jan 29, 2024
89f11bf
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Jan 30, 2024
916dca1
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Feb 1, 2024
a9a20bc
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Feb 7, 2024
cd514db
made main package testable, revert due to a mistake
robGG1997 Feb 7, 2024
3428344
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Feb 8, 2024
d2e7533
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Feb 8, 2024
7acb12d
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Mar 11, 2024
b6337a6
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Apr 1, 2024
c386de9
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Apr 2, 2024
90a9db1
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
rob1997 May 8, 2024
a546f27
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
rob1997 May 29, 2024
3b770de
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
rob1997 May 29, 2024
1773837
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
rob1997 Jul 1, 2024
ae63554
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
rob1997 Jul 1, 2024
4529d92
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
rob1997 Aug 7, 2024
9a4461d
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
rob1997 Aug 7, 2024
2451c88
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
rob1997 Aug 8, 2024
86aa757
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
rob1997 Oct 9, 2024
91d5435
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
rob1997 Oct 9, 2024
f1f461c
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
rob1997 Oct 14, 2024
b790421
initial commit to test CI
rob1997 Oct 15, 2024
d62336f
path updated
rob1997 Oct 15, 2024
24891d0
path updated for linux
rob1997 Oct 15, 2024
a8b9fda
Packages version changes implemented
rob1997 Oct 15, 2024
d0c8b02
Program renamed to Setup
rob1997 Oct 15, 2024
02d78e4
checkpoint before testing git
rob1997 Oct 15, 2024
95ef992
git push added
rob1997 Oct 15, 2024
ab7137d
proper logging
rob1997 Oct 15, 2024
2cd14ce
more log check
rob1997 Oct 15, 2024
c5d7f1c
more log test
rob1997 Oct 15, 2024
83d1d49
powershell added
rob1997 Oct 15, 2024
6618c2c
added missing command line argument
rob1997 Oct 15, 2024
381c9b9
reverted to run with bash
rob1997 Oct 15, 2024
205d1b3
removed powershell package
rob1997 Oct 15, 2024
b2dfcf4
exception support
rob1997 Oct 15, 2024
79f9a82
configure and push added
rob1997 Oct 15, 2024
dee0c58
deploy key added for push
rob1997 Oct 15, 2024
41a7d9a
bad substitution fix
rob1997 Oct 15, 2024
a21c016
github env vars setup
rob1997 Oct 15, 2024
3418698
checkpoint
rob1997 Oct 15, 2024
b9a0cf9
tags and dependency version changes
rob1997 Oct 16, 2024
f4d5b17
manual workflow and release added
rob1997 Oct 16, 2024
2960ba8
release version from input
rob1997 Oct 16, 2024
961720e
Merge branch 'main' into rob/publish-and-release-tool-1120
rob1997 Oct 16, 2024
2fcf7eb
cool-er title for release workflow
rob1997 Oct 16, 2024
5468775
Merge branch 'rob/publish-and-release-tool-1120' of https://github.co…
rob1997 Oct 16, 2024
5387d10
Ignore serialization only, on some Package properties
rob1997 Oct 16, 2024
f8f3d3d
removed unused using statement
rob1997 Oct 16, 2024
9f8cf2d
documentation added
rob1997 Oct 16, 2024
b882d53
first draft for duplicate sample and fixed release
rob1997 Oct 17, 2024
8065cf7
fixed parallel run of jobs
rob1997 Oct 17, 2024
b97d17c
extra arguments for release
rob1997 Oct 17, 2024
3673c71
merged to main
rob1997 Oct 17, 2024
b783598
new trigger for testing
rob1997 Oct 17, 2024
a951ee5
fixed compile error
rob1997 Oct 17, 2024
e596f0e
documentation
rob1997 Oct 17, 2024
e23e4ae
added ref branch to commit on pull requst
rob1997 Oct 17, 2024
7186b2e
removed additional arguments for release
rob1997 Oct 17, 2024
b81a8c4
Merge branch 'main' into rob/publish-tool-1120
rob1997 Oct 17, 2024
aae7871
setup works on both workflow call or form workflow dispatch
rob1997 Oct 17, 2024
1f9632e
cache test
rob1997 Oct 17, 2024
544fc77
compile error fix
rob1997 Oct 17, 2024
c564488
parallel fix
rob1997 Oct 17, 2024
560bcfd
removed push at the end
rob1997 Oct 17, 2024
cf24014
sync dependencies done
rob1997 Oct 18, 2024
f10e912
added dotnet restore
rob1997 Oct 18, 2024
d7b004c
removed restore added git enable property
rob1997 Oct 18, 2024
b378b07
update submodule before dotnet run
rob1997 Oct 18, 2024
8466621
git fix
rob1997 Oct 18, 2024
dcc91e2
default case added for runnable args switch
rob1997 Oct 18, 2024
800beba
release by default, git enabled by default and duplicate and sync now…
rob1997 Oct 18, 2024
5c1b327
cleaned up scripts
rob1997 Oct 19, 2024
17064c9
workflows updated and optimized
rob1997 Oct 21, 2024
eaa8688
more workflow updates and optimizations
rob1997 Oct 21, 2024
acac9db
parallel runs (to save time)
rob1997 Oct 21, 2024
346b5c4
test sync branches
rob1997 Oct 21, 2024
26f6d66
fetch added
rob1997 Oct 21, 2024
933f197
main renamed
rob1997 Oct 21, 2024
bb3c490
--allow-unrelated-histories flag added
rob1997 Oct 21, 2024
8e27d4d
git config added
rob1997 Oct 21, 2024
0c1fadd
sync branches to main workflow
rob1997 Oct 21, 2024
0e6996d
git back to static
rob1997 Oct 21, 2024
e930277
reverted sample duplicate test
rob1997 Oct 21, 2024
883c41e
parallel run to save some time
rob1997 Oct 21, 2024
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
136 changes: 0 additions & 136 deletions .github/workflows/check_and_commit.yml

This file was deleted.

27 changes: 27 additions & 0 deletions .github/workflows/duplicate_samples.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Duplicate Samples

on:
workflow_call:
workflow_dispatch:
inputs:
arguments:
required: false
description: 'Run Arguments'
type: string
configuration:
required: true
description: 'Run Configuration'
default: 'Release'
type: choice
options:
- Release
- Debug

jobs:
setup:
name: Duplicate Samples 🪞
uses: ChainSafe/web3.unity/.github/workflows/setup.yaml@main
with:
arguments: "-duplicate_samples ${{ github.event.inputs.arguments || '-git:enabled' }} -c ${{ github.event.inputs.configuration || 'Release' }}"
secrets: inherit

23 changes: 16 additions & 7 deletions .github/workflows/pull_request_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,25 @@ on:

jobs:
web3_tests:
name: Web3 Tests
name: Web3 tests 🕸
if: ${{ github.event.action == 'ready_for_review' || github.event.label.name == 'ready-to-merge'}}
uses: ChainSafe/web3.unity/.github/workflows/test.yaml@main
analyze_code:
name: Analyze Code
name: Analyze 🧐
uses: ChainSafe/web3.unity/.github/workflows/codeql.yml@main
needs: [ web3_tests ]
unity_tests:
name: Unity Tests
sync_dependencies:
name: Sync Dependencies 🔄
if: ${{ github.base_ref == 'main' }}
uses: ChainSafe/web3.unity/.github/workflows/check_and_commit.yml@main
needs: [ analyze_code ]
uses: ChainSafe/web3.unity/.github/workflows/sync_dependencies.yaml@main
needs: [ web3_tests , analyze_code ]
secrets: inherit
duplicate_samples:
name: Duplicate Samples 🪞
uses: ChainSafe/web3.unity/.github/workflows/duplicate_samples.yaml@main
needs: [ sync_dependencies ]
secrets: inherit
unity_tests:
name: Unity Tests 🧪
uses: ChainSafe/web3.unity/.github/workflows/unity_tests.yml@main
needs: [ sync_dependencies ]
secrets: inherit
11 changes: 0 additions & 11 deletions .github/workflows/push_checks.yml

This file was deleted.

21 changes: 21 additions & 0 deletions .github/workflows/push_checks_dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Post Push Checks and Commits

on:
push:
branches: [ dev ]

jobs:
sync_dependencies:
name: Sync Dependencies 🔄
uses: ChainSafe/web3.unity/.github/workflows/sync_dependencies.yaml@main
secrets: inherit
duplicate_samples:
name: Duplicate Samples 🪞
uses: ChainSafe/web3.unity/.github/workflows/duplicate_samples.yaml@main
needs: [ sync_dependencies ]
secrets: inherit
unity_tests:
name: Unity Tests 🧪
uses: ChainSafe/web3.unity/.github/workflows/unity_tests.yml@main
needs: [ sync_dependencies ]
secrets: inherit
13 changes: 13 additions & 0 deletions .github/workflows/push_checks_main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Post Push Checks

on:
push:
branches: [ main ]

jobs:
sync_branches:
name: Sync Branches ♾️
uses: ChainSafe/web3.unity/.github/workflows/sync_branches.yaml@main
with:
branch: dev
secrets: inherit
24 changes: 8 additions & 16 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,22 @@ on:
description: 'Version Release Notes'
required: true

env:
git_email: "${{ github.actor }}@users.noreply.github.com"
git_actor: "${{ github.actor }}"

jobs:
setup:
name: Setup job
uses: ChainSafe/web3.unity/.github/workflows/setup.yaml@main
with:
arguments: "-release:${{ github.event.inputs.version }}"
secrets: inherit
release:
name: Release job
runs-on: ubuntu-latest
needs: [ setup ]
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
lfs: true
ssh-key: ${{ secrets.DEPLOY_KEY }}

- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x

- name: Run
run: |
cd Setup
dotnet run -release:${{ github.event.inputs.version }} Setup/Setup.csproj
lfs: true
- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand Down
48 changes: 48 additions & 0 deletions .github/workflows/setup.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Setup ⚙️

on:
workflow_call:
inputs:
arguments:
required: true
type: string
workflow_dispatch:
inputs:
arguments:
required: true
description: 'Arguments to pass to the setup script'
type: string
env:
git_email: "${{ github.actor }}@users.noreply.github.com"
git_actor: "${{ github.actor }}"

jobs:
setup:
name: Setup job
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref || github.ref_name }}
lfs: true
ssh-key: ${{ secrets.DEPLOY_KEY }}
- name: update submodules
run: |
git submodule update --init
shell: bash
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x

- name: Run
run: |
cd Setup
dotnet run ${{ inputs.arguments || github.event.inputs.arguments }} Setup/Setup.csproj
git reset --hard
- name: Cache
uses: actions/cache/save@v4
with:
path: .git
key: ${{ runner.os }}-git
37 changes: 37 additions & 0 deletions .github/workflows/sync_branches.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Sync Branches

on:
workflow_call:
inputs:
branch:
required: true
type: string
workflow_dispatch:
inputs:
branch:
required: true
description: "Branch to Sync"
type: string

jobs:
setup:
name: Sync Branches ♾️
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref || github.ref_name }}
lfs: true
ssh-key: ${{ secrets.DEPLOY_KEY }}
- name: Sync Branches
run: |
git config user.email $git_email
git config user.name $git_actor
git fetch origin ${{ github.event.inputs.branch }}
git merge main --allow-unrelated-histories
git push
shell: bash
env:
git_email: "${{ github.actor }}@users.noreply.github.com"
git_actor: "${{ github.actor }}"
Loading
Loading