fix: Fix memory usage calc #5
Workflow file for this run
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
name: typo-checker | |
# ^^^^^^^^^^^^ | |
# https://github.com/organization/repository/workflows/typo-checker/badge.svg | |
# ^^^^^^^^^^^^ | |
on: | |
pull_request: | |
workflow_dispatch: | |
inputs: {} | |
# NOTE: If commit & push continuously, cancel the workflow other than the latest commit. | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.base_ref }}-${{ github.head_ref }}-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
id-token: write | |
contents: read | |
env: | |
WORKDIR: . | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
typo-checker: # NOTE: for Branch protection rule `Status checks that are required.` | |
runs-on: ubuntu-latest # ref. https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on | |
steps: | |
- uses: actions/checkout@v4 | |
- name: DEBUG | |
shell: bash | |
run: | | |
cat <<'DEBUG_DOC' | |
== DEBUG ======================================================= | |
github.ref: ${{ github.ref }} | |
github.event_name: ${{ github.event_name }} | |
-- toJSON(github.event.inputs) --------------------------------- | |
${{ toJSON(github.event.inputs) }} | |
-- toJSON(github) ---------------------------------------------- | |
${{ toJSON(github) }} | |
================================================================ | |
DEBUG_DOC | |
- name: Check spelling | |
uses: crate-ci/typos@master |