-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:demergent-labs/azle into updating_cuzz
- Loading branch information
Showing
408 changed files
with
8,115 additions
and
30,122 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
name: Configure Git | ||
description: 'Configures git with user info and GPG signing' | ||
inputs: | ||
gpg_signing_key: | ||
gpg-signing-key: | ||
description: 'The GPG signing key to use for signing commits' | ||
required: true | ||
signing-key-id: | ||
description: 'The GPG signing key ID to configure for git' | ||
required: true | ||
runs: | ||
using: composite | ||
steps: | ||
|
@@ -13,6 +16,6 @@ runs: | |
git config --global user.name 'Jordan Last' | ||
git config --global user.email '[email protected]' | ||
git config --global commit.gpgsign true | ||
echo -n "${{ inputs.gpg_signing_key }}" | base64 --decode | gpg --import | ||
git config --global user.signingkey C8B77BCBE16CD2B94B43F9C8757397B82D4ED7B0 | ||
echo -n "${{ inputs.gpg-signing-key }}" | base64 --decode | gpg --import | ||
git config --global user.signingkey ${{ inputs.signing-key-id }} | ||
shell: bash |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: 'npm' | ||
directory: '/' | ||
schedule: | ||
interval: 'daily' | ||
versioning-strategy: increase | ||
commit-message: | ||
prefix: 'deps' | ||
prefix-development: 'deps(dev)' | ||
groups: | ||
dfinity: | ||
patterns: | ||
- '@dfinity/*' | ||
eslint: | ||
patterns: | ||
- 'eslint*' | ||
- 'typescript-eslint' | ||
- '@eslint/*' | ||
- '@typescript-eslint/*' | ||
jest: | ||
patterns: | ||
- 'jest*' | ||
- 'ts-jest' | ||
ignore: | ||
- dependency-name: 'binaryen' | ||
|
||
- package-ecosystem: 'cargo' | ||
directory: '/' | ||
schedule: | ||
interval: 'daily' | ||
commit-message: | ||
prefix: 'deps' | ||
groups: | ||
ic-dependencies: | ||
patterns: | ||
- 'ic-cdk*' | ||
- 'ic-stable-structures' | ||
- 'ic-wasi-polyfill' | ||
- 'candid*' | ||
serde: | ||
patterns: | ||
- 'serde*' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
name: Build Templates | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- synchronize | ||
- ready_for_review | ||
- reopened | ||
|
||
jobs: | ||
workflow-config: | ||
name: Determine workflow config | ||
runs-on: ubuntu-latest | ||
outputs: | ||
is-dependabot: ${{ steps.determine-workflow-config.outputs.is-dependabot }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- id: determine-workflow-config | ||
uses: ./.github/actions/determine_workflow_config | ||
with: | ||
is-workflow-dispatch: false | ||
exclude-slow-dispatch-input-value: false | ||
exclude-unstable-dispatch-input-value: false | ||
exclude-release-only-dispatch-input-value: false | ||
link-azle-dispatch-input-value: false | ||
|
||
build-templates: | ||
name: Build templates for Dependabot | ||
needs: workflow-config | ||
if: ${{ needs.workflow-config.outputs.is-dependabot == 'true' }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.head_ref }} | ||
token: ${{ secrets.LASTMJS_GITHUB_TOKEN }} | ||
|
||
- uses: ./.github/actions/setup_node | ||
|
||
- uses: ./.github/actions/setup_dfx | ||
|
||
- run: npm install | ||
|
||
- name: Install global dependencies | ||
run: | | ||
AZLE_VERBOSE=true npx azle install-global-dependencies --rust --wasi2ic | ||
- name: Build stable template | ||
run: AZLE_VERBOSE=true npx azle template | ||
|
||
- name: Build experimental template | ||
run: AZLE_VERBOSE=true npx azle template --experimental | ||
|
||
- uses: ./.github/actions/commit_and_push | ||
with: | ||
branch-name: ${{ github.head_ref }} | ||
commit-message: 'chore: update templates for dependency changes' | ||
gpg-signing-key: ${{ secrets.GPG_SIGNING_KEY }} | ||
signing-key-id: ${{ needs.workflow-config.outputs.is-dependabot == 'true' && '2ED5FB11C6D5168EB9D69C5EF524010C7419CA66' || 'C8B77BCBE16CD2B94B43F9C8757397B82D4ED7B0' }} |
Oops, something went wrong.