From 9750ac7edc3e88d993e2c76e2f8c79020171f163 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 19 Oct 2024 12:12:47 +0000 Subject: [PATCH 1/2] chore(deps): update dependency deno to v2 --- .tool-versions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.tool-versions b/.tool-versions index ab06820..e42568b 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1,2 @@ -deno 1.46.3 +deno 2.0.2 nodejs 20.18.0 From 794f421d098ecbc5c43d98ab14d46088ede3c9b9 Mon Sep 17 00:00:00 2001 From: Kenta Kase Date: Sat, 19 Oct 2024 21:13:59 +0900 Subject: [PATCH 2/2] deno fmt --- .github/release-drafter.yml | 50 +++++++++++++++++----------------- .github/workflows/ci.yml | 14 +++++----- .github/workflows/rebundle.yml | 2 +- .github/workflows/release.yml | 4 +-- README.md | 28 +++++++++---------- 5 files changed, 49 insertions(+), 49 deletions(-) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index b882897..9243a77 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -1,44 +1,44 @@ -name-template: 'v$RESOLVED_VERSION' -tag-template: 'v$RESOLVED_VERSION' +name-template: "v$RESOLVED_VERSION" +tag-template: "v$RESOLVED_VERSION" categories: - - title: 'BREAKING CHANGES' + - title: "BREAKING CHANGES" labels: - - 'BREAKING CHANGES' - - title: 'Features' + - "BREAKING CHANGES" + - title: "Features" labels: - - 'feature' - - 'enhancement' - - title: 'Fixes' + - "feature" + - "enhancement" + - title: "Fixes" labels: - - 'fix' - - 'bug' - - 'security' - - title: 'Dependencies' + - "fix" + - "bug" + - "security" + - title: "Dependencies" collapse-after: 3 labels: - - 'dependencies' - - 'renovate' - - title: 'Documentation' + - "dependencies" + - "renovate" + - title: "Documentation" labels: - - 'document' - - 'documentation' - - title: 'Internal improvement' + - "document" + - "documentation" + - title: "Internal improvement" labels: - - 'ci' -change-template: '- $TITLE @$AUTHOR (#$NUMBER)' + - "ci" +change-template: "- $TITLE @$AUTHOR (#$NUMBER)" change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks. version-resolver: major: labels: - - 'BREAKING CHANGES' + - "BREAKING CHANGES" minor: labels: - - 'feature' - - 'enhancement' + - "feature" + - "enhancement" patch: labels: - - 'bug' - - 'security' + - "bug" + - "security" default: patch template: | ## [v$RESOLVED_VERSION](https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 29d25ac..b6d0f41 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,7 +2,7 @@ name: CI on: push: - branches: [ "main" ] + branches: ["main"] pull_request: workflow_dispatch: @@ -31,16 +31,16 @@ jobs: - uses: ./.github/actions/setup-deno-with-cache - name: Rebuild the dist/ directory run: deno task bundle - + # post processes - name: Upload dist for post job if: ${{ always() }} uses: actions/upload-artifact@v4 with: - name: js_dist - path: | - dist/ - action.yml + name: js_dist + path: | + dist/ + action.yml - name: Create dist/*.js size json run: | find ./dist -type f -printf '%s %f\n' \ @@ -70,7 +70,7 @@ jobs: run_self: runs-on: ubuntu-latest if: ${{ always() }} - needs: [ check, check-dist, test ] + needs: [check, check-dist, test] steps: - name: Download bundled dist uses: actions/download-artifact@v4 diff --git a/.github/workflows/rebundle.yml b/.github/workflows/rebundle.yml index 16f5a1c..f540764 100644 --- a/.github/workflows/rebundle.yml +++ b/.github/workflows/rebundle.yml @@ -2,7 +2,7 @@ name: Rebundle dist on: push: - branches: [ "main" ] + branches: ["main"] workflow_dispatch: jobs: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index daa123f..08a09d0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -52,5 +52,5 @@ jobs: ref: "${{ steps.release-drafter.outputs.tag_name }}" - name: Update major and minor git tags run: | - git push -f origin "refs/tags/${{ steps.release-drafter.outputs.tag_name }}:refs/tags/${{ steps.semver.outputs.major }}" - git push -f origin "refs/tags/${{ steps.release-drafter.outputs.tag_name }}:refs/tags/${{ steps.semver.outputs.minor }}" + git push -f origin "refs/tags/${{ steps.release-drafter.outputs.tag_name }}:refs/tags/${{ steps.semver.outputs.major }}" + git push -f origin "refs/tags/${{ steps.release-drafter.outputs.tag_name }}:refs/tags/${{ steps.semver.outputs.minor }}" diff --git a/README.md b/README.md index 6d9fa36..088910b 100644 --- a/README.md +++ b/README.md @@ -16,17 +16,17 @@ jobs: build: runs-on: ubuntu-latest steps: - # Register this action before your build step. It will then be executed at the end of the job post-processing. - - uses: Kesin11/actions-timeline@v2 - with: - # e.g.: ${{ secrets.MY_PAT }} - # Default: ${{ github.token }} - github-token: '' - # Show waiting runner time in the timeline. - # Default: true - show-waiting-runner: true - - # Your build steps... + # Register this action before your build step. It will then be executed at the end of the job post-processing. + - uses: Kesin11/actions-timeline@v2 + with: + # e.g.: ${{ secrets.MY_PAT }} + # Default: ${{ github.token }} + github-token: "" + # Show waiting runner time in the timeline. + # Default: true + show-waiting-runner: true + + # Your build steps... ``` If your workflow has many jobs, you should run `actions-timeline` in the job @@ -38,12 +38,12 @@ jobs: build-1: build-2: build-3: - + actions-timeline: needs: [build-1, build-2, build-3] runs-on: ubuntu-latest steps: - - uses: Kesin11/actions-timeline@v2 + - uses: Kesin11/actions-timeline@v2 ``` ## How it works @@ -81,7 +81,7 @@ jobs: actions: read runs-on: ubuntu-latest steps: - - uses: Kesin11/actions-timeline@v2 + - uses: Kesin11/actions-timeline@v2 ``` ### 'Waiting for a runner' step is not supported < GHES v3.9