-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #87 from dojoengine/rc0
rc0
- Loading branch information
Showing
11 changed files
with
207 additions
and
96 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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Release | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
version: | ||
description: 'Version to release (e.g., v1.0.0)' | ||
required: true | ||
type: string | ||
dojo_version: | ||
description: 'Dojo version to use' | ||
required: true | ||
type: string | ||
|
||
jobs: | ||
create-release: | ||
runs-on: ubuntu-latest | ||
env: | ||
DOJO_VERSION: ${{ inputs.dojo_version }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
# Setup and test with specified Dojo version | ||
- run: curl -L https://install.dojoengine.org | bash | ||
- run: /home/runner/.config/.dojo/bin/dojoup -v ${{ env.DOJO_VERSION }} | ||
- run: | | ||
/home/runner/.config/.dojo/bin/sozo build | ||
/home/runner/.config/.dojo/bin/sozo test | ||
# Create tag and release | ||
- name: Create Tag | ||
run: | | ||
git tag ${{ inputs.version }} | ||
git push origin ${{ inputs.version }} | ||
- name: Create Release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
tag_name: ${{ inputs.version }} | ||
name: Release ${{ inputs.version }} | ||
draft: false | ||
prerelease: false | ||
generate_release_notes: true |
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,21 +1,25 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
pull_request: | ||
push: | ||
branches: | ||
- "main" | ||
pull_request: | ||
|
||
jobs: | ||
sozo-test: | ||
runs-on: ubuntu-latest | ||
env: | ||
DOJO_VERSION: v1.0.0-rc.0 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: curl -L https://install.dojoengine.org | bash | ||
- run: /home/runner/.config/.dojo/bin/dojoup -v v1.0.0-alpha.17 | ||
- run: /home/runner/.config/.dojo/bin/dojoup -v ${{ env.DOJO_VERSION }} | ||
- run: | | ||
/home/runner/.config/.dojo/bin/sozo build | ||
/home/runner/.config/.dojo/bin/sozo test | ||
if [[ `git status --porcelain` ]]; then | ||
echo The git repo is dirty | ||
echo "Make sure to run \"sozo build\" after changing Scarb.toml" | ||
exit 1 | ||
fi | ||
fi |
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
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
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
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
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
This file was deleted.
Oops, something went wrong.
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
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
Oops, something went wrong.