Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
5d4e33b
Enhance Lefthook configuration
giancosta86 Apr 6, 2025
4dd9208
Enhance the "Update action references" Git hook
giancosta86 Apr 9, 2025
59da6dd
Add a pre-commit hook to check the Elvish syntax
giancosta86 Apr 23, 2025
b0bbd87
Update action references
giancosta86 Apr 6, 2025
a6eb0df
Refactor and enhance `setup-elvish-context`:
giancosta86 May 21, 2025
29a0333
Introduce an Elvish core
giancosta86 Apr 28, 2025
20d5909
Refactor `detect-branch-version`
giancosta86 Apr 9, 2025
8f472c7
Refactor `check-action-references`
giancosta86 Apr 9, 2025
33d0aea
Refactor `parse-npm-scope`
giancosta86 Apr 9, 2025
2da9a26
Refactor `check-project-license`
giancosta86 Apr 9, 2025
5ee7ed7
Refactor `install-wasm-pack`
giancosta86 Apr 13, 2025
cf981f3
Replace `check-rust-versions` with `setup-rust-context`:
giancosta86 Apr 9, 2025
32fd0f8
Refactor and enhance `enforce-branch-version`:
giancosta86 Apr 11, 2025
6ff6c22
Refactor `generate-wasm-target`
giancosta86 Apr 9, 2025
c762b82
Refactor and redesign `find-critical-todos`:
giancosta86 Apr 13, 2025
b7f27a3
Refactor and enhance `install-via-sdkman`:
giancosta86 Apr 13, 2025
fcfd67d
Refactor `extract-rust-snippets`
giancosta86 Apr 13, 2025
1d344d4
Refactor and enhance `upload-release-assets`:
giancosta86 Apr 13, 2025
c342726
Refactor `check-subpath-exports`
giancosta86 Apr 14, 2025
f4440ce
Refactor `inject-subpath-exports`
giancosta86 Apr 21, 2025
9e847c3
Refactor `install-system-packages`:
giancosta86 Apr 22, 2025
3470ab9
Refactor and enhance `setup-nodejs-context`:
giancosta86 Apr 22, 2025
9ddd4dd
Refactor `publish-github-pages`
giancosta86 Apr 22, 2025
dc90ddc
Introduce new action: `run-shell-script`
giancosta86 May 21, 2025
1f92c49
Refactor and extend `run-custom-tests`:
giancosta86 Apr 22, 2025
da34e79
Refactor `verify-npm-package`
giancosta86 Apr 23, 2025
7e9bf97
Refactor `publish-npm-package`
giancosta86 Apr 23, 2025
1b0815d
Refactor `verify-rust-crate`
giancosta86 Apr 23, 2025
1c83506
Refactor `verify-rust-wasm`
giancosta86 Apr 23, 2025
d0608a1
Refactor and enhance `publish-rust-crate`:
giancosta86 Apr 24, 2025
218203d
Refactor `publish-rust-wasm`
giancosta86 Apr 24, 2025
8b384f4
Refactor `verify-python-package`
giancosta86 Apr 25, 2025
317a264
Refactor `publish-python-package`
giancosta86 Apr 25, 2025
f49eae1
Refactor `verify-jvm-project`
giancosta86 Apr 25, 2025
5f59351
Refactor `publish-jvm-project`
giancosta86 Apr 26, 2025
5dd3d03
Refactor `tag-and-release`:
giancosta86 May 3, 2025
344dc7e
Introduce new action: `check-required-jobs`
giancosta86 May 26, 2025
7e98f45
Introduce new action `verify-elvish-package`
giancosta86 Jun 25, 2025
2d7df46
Introduce new action: `setup-elvish-package`
giancosta86 Jul 11, 2025
577e96d
Revise the test network
giancosta86 May 21, 2025
0e6975f
Update action references for v11
giancosta86 Jun 7, 2025
4c274a1
Simplify example snippets for various actions
giancosta86 May 20, 2025
02e1972
Introduce a logo in lieu of the action diagram
giancosta86 Apr 23, 2025
aeaf152
Update README
giancosta86 Apr 23, 2025
32b90b1
Update GitHub workflows
giancosta86 Jun 14, 2025
84067f2
CORE
giancosta86 Jun 21, 2025
649f0bc
run-shell-script
giancosta86 Jun 28, 2025
347de50
run-custom-tests
giancosta86 Jul 4, 2025
5a51a81
DEL THIS
giancosta86 Jul 11, 2025
cfaa7c0
setup-elvish-package
giancosta86 Jul 11, 2025
159b63b
setup-elvish-package
giancosta86 Jul 11, 2025
39adf1d
setup-elvish-package
giancosta86 Jul 11, 2025
ae5c0d8
setup-elvish-package
giancosta86 Jul 11, 2025
b55c94b
setup-elvish-package
giancosta86 Jul 11, 2025
ae836f7
setup-elvish-package
giancosta86 Jul 11, 2025
b7f1e72
setup-elvish-library
giancosta86 Jul 11, 2025
2d77444
setup-elvish-package
giancosta86 Jul 11, 2025
21a22ec
run-custom-tests
giancosta86 Oct 11, 2025
9a3fe83
CORE
giancosta86 Oct 11, 2025
a021986
Simplify call to velvet
giancosta86 Oct 26, 2025
0c878b5
Include echo
giancosta86 Nov 23, 2025
52fc676
CORE
giancosta86 Nov 24, 2025
2b799a6
CORE
giancosta86 Jan 29, 2026
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
22 changes: 22 additions & 0 deletions .github/process-release-notes.elv
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
use str
use github.com/giancosta86/aurora-elvish/edit

var notes-file = $args[0]

{
tmp pwd = actions

edit:file $notes-file { |content|
var actual-content = $content

put * | each { |action-name|
var tick-quoted-name = '`'$action-name'`'

var markdown-link = '['$action-name'](actions/'$action-name'/README.md)'

set actual-content = (str:replace $tick-quoted-name $markdown-link $actual-content)
}

put $actual-content
}
}
8 changes: 0 additions & 8 deletions .github/process-release-notes.sh

This file was deleted.

4 changes: 2 additions & 2 deletions .github/test-actions/test-check-project-license/action.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Test check-rust-versions
name: Test check-project-license

runs:
using: composite
steps:
- shell: bash
run: echo "🎭Checking project license..."
run: echo "🎭 Checking project license..."

- name: Check project license
uses: ./actions/check-project-license
20 changes: 0 additions & 20 deletions .github/test-actions/test-check-rust-versions/action.yml

This file was deleted.

34 changes: 17 additions & 17 deletions .github/test-actions/test-check-subpath-exports/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,54 +3,54 @@ name: Test check-subpath-exports
runs:
using: composite
steps:
- name: When the "exports" field is missing
uses: ./.github/test-actions/test-check-subpath-exports/scenario
- uses: ./.github/test-actions/test-check-subpath-exports/scenario
with:
header: Test when the "exports" field is missing...
jq-operation: del(.exports)

- name: When the "exports" field is present but empty
uses: ./.github/test-actions/test-check-subpath-exports/scenario
- uses: ./.github/test-actions/test-check-subpath-exports/scenario
with:
header: Test when the "exports" field is present but empty...
jq-operation: .exports={}

- name: When the "exports" field is a string
uses: ./.github/test-actions/test-check-subpath-exports/scenario
- uses: ./.github/test-actions/test-check-subpath-exports/scenario
with:
header: Test when the "exports" field is a string...
jq-operation: .exports="./src/beta/index.js"

- name: When the "exports" field contains a string field
uses: ./.github/test-actions/test-check-subpath-exports/scenario
- uses: ./.github/test-actions/test-check-subpath-exports/scenario
with:
header: Test when the "exports" object contains a string field...
jq-operation: |
.exports={
"beta": "./src/beta/index.js"
}

- name: When the "exports" field contains an object field
uses: ./.github/test-actions/test-check-subpath-exports/scenario
- uses: ./.github/test-actions/test-check-subpath-exports/scenario
with:
header: Test when the "exports" object contains an object field...
jq-operation: |
.exports={
"beta": {
"import": "./src/beta/index.js",
"import": "./src/beta/index.d.ts",
"default": "./src/beta/index.js"
}
}

- name: When the "exports" field contains multiple fields
uses: ./.github/test-actions/test-check-subpath-exports/scenario
- uses: ./.github/test-actions/test-check-subpath-exports/scenario
with:
header: Test when the "exports" object contains multiple fields...
jq-operation: |
.exports={
"alpha": {
"import": "./src/alpha/index.ts",
"default": "./src/alpha/index.ts"
"types": "./src/alpha/index.d.ts",
"default": "./src/alpha/index.js"
},

"beta": {
"import": "./src/beta/index.js",
"types": "./src/beta/index.d.ts",
"default": "./src/beta/index.js"
},

"omega": "./src/omega/index.ts"
"omega": "./src/omega/index.js"
}
Original file line number Diff line number Diff line change
@@ -1,20 +1,26 @@
name: Update and check subpath exports in the npm test project

inputs:
header:
description: Header for this scenario.

jq-operation:
description: The operation altering the package.json descriptor
description: The jq operation altering the package.json descriptor.

runs:
using: composite
steps:
- shell: bash
run: echo "🎭 ${{inputs.header}}"

- name: Run the requested jq operation on package.json
shell: bash
working-directory: tests/npm-package
run: |
jq '${{ inputs.jq-operation }}' package.json > package.json.temp
mv package.json.temp package.json

echo "🔎The 'exports' field is:"
echo "🔎 The 'exports' field is:"
jq -C '.exports' package.json

- uses: ./actions/check-subpath-exports
Expand Down
39 changes: 14 additions & 25 deletions .github/test-actions/test-detect-branch-version/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,9 @@ runs:

if [[ -n "$branch" ]]
then
echo "🌲Branch retrieved from action: '$branch'"
echo "Branch retrieved from action: '$branch'"
else
echo "❌The branch could not be detected!" >&2
exit 1
fi

- name: The detected branch should be the one starting the pull request for this test
shell: bash
run: |
headRef="${{ github.head_ref }}"
branch="${{ steps.detector.outputs.branch }}"

echo "🌲Head ref in pull request: '$headRef'"

if [[ "$branch" == "$headRef" ]]
then
echo "✅The detected branch coincides with the head ref!"
else
echo "❌The branch ('$branch') should match the head_ref ('$headRef')!" >&2
echo "❌ The branch could not be detected!" >&2
exit 1
fi

Expand All @@ -42,9 +26,9 @@ runs:

if [[ -n "$version" ]]
then
echo "🔎Version retrieved from action: '$version'"
echo "Version retrieved from action: '$version'"
else
echo "❌The version could not be detected!" >&2
echo "❌ The version could not be detected!" >&2
exit 1
fi

Expand All @@ -53,13 +37,13 @@ runs:
run: |
escapedVersion="${{ steps.detector.outputs.escaped-version }}"

echo "🔎Escaped version retrieved from action: '$escapedVersion'"
echo "🔎 Escaped version retrieved from action: '$escapedVersion'"

if echo "$escapedVersion" | grep -Pq "\\\."
then
echo "✅The escaped version contains '\.', as expected!"
echo "✅ The escaped version contains '\.', as expected!"
else
echo "❌The escaped version should include '\.'!" >&2
echo "❌ The escaped version should include '\.'!" >&2
exit 1
fi

Expand All @@ -70,8 +54,13 @@ runs:

if [[ -n "$major" ]]
then
echo "🪩Major version component: '$major'"
echo "Major version component: '$major'"
else
echo "❌The major component could not be detected!" >&2
echo "❌ The major component could not be detected!" >&2
exit 1
fi

- name: Display completion message
shell: bash
run: |
echo '✅ All tests successful!'
Loading
Loading