From 1df1de59f8ddb213bd63688856bf57a2349ee58a Mon Sep 17 00:00:00 2001 From: Yevhen Fabizhevskyi Date: Thu, 20 Apr 2023 16:46:23 +0900 Subject: [PATCH] Bump ciao from 1.22.0-m1 to 1.22.0-m2 (#5) --- .github/FUNDING.yml | 4 ++-- .github/ISSUE_TEMPLATE/bug_report.md | 3 +-- .github/ISSUE_TEMPLATE/feature_request.md | 3 +-- .github/pull_request_template.md | 4 +++- .github/workflows/create-release.yml | 4 ++-- .github/workflows/functional-tests.yml | 9 +++++---- .github/workflows/update-license.yml | 4 ++-- .pre-commit-config.yaml | 4 ++++ .yamllint.yml | 3 +++ README.md | 4 +++- action.yml | 10 +++++----- 11 files changed, 31 insertions(+), 21 deletions(-) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index d0534d2..08a9a71 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,6 +1,6 @@ --- -custom: ['https://en.cryptobadges.io/donate/145HwyQAcv4vrzUumJhu7nWGAVBysX9jJH'] -github: ['fabasoad'] +custom: ["https://en.cryptobadges.io/donate/145HwyQAcv4vrzUumJhu7nWGAVBysX9jJH"] +github: ["fabasoad"] issuehunt: fabasoad ko_fi: fabasoad liberapay: fabasoad diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 8498893..d39b350 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -1,10 +1,9 @@ --- name: Bug report about: Create a report to help us improve -title: '' +title: "" labels: bug assignees: fabasoad - --- #### Describe the bug diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index 959f61e..5fb2426 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -1,10 +1,9 @@ --- name: Feature request about: Suggest an idea for this project -title: '' +title: "" labels: enhancement assignees: fabasoad - --- #### Is your feature request related to a problem? Please describe diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 1b47ffe..d8946c8 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -5,7 +5,7 @@ Please check if your PR fulfills the following requirements: - [ ] I have read the [CONTRIBUTING](https://github.com/fabasoad/setup-ciao-action/blob/main/CONTRIBUTING.md) -doc. + doc. - [ ] Tests for the changes have been added (for bug fixes / features). - [ ] Docs have been reviewed and added / updated if needed (for bug fixes / features). @@ -27,10 +27,12 @@ Please check the type of change your PR introduces: - [ ] Other (please describe): ## What is the current behavior + ## What is the new behavior + - diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index f63768f..e8e506c 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -1,10 +1,10 @@ --- name: Create release -on: # yamllint disable-line rule:truthy +on: # yamllint disable-line rule:truthy push: tags: - - 'v*.*.*' + - "v*.*.*" jobs: create-release: diff --git a/.github/workflows/functional-tests.yml b/.github/workflows/functional-tests.yml index abf6965..80792a8 100644 --- a/.github/workflows/functional-tests.yml +++ b/.github/workflows/functional-tests.yml @@ -1,10 +1,10 @@ --- name: Functional Tests -on: # yamllint disable-line rule:truthy +on: # yamllint disable-line rule:truthy push: branches: - - 'main' + - "main" pull_request: defaults: @@ -17,8 +17,9 @@ jobs: timeout-minutes: 10 strategy: matrix: - os: ['ubuntu', 'macos'] - version: ['1.22.0-m1', '1.21.0-m3', '1.21.0-m2', '1.21.0-alpha.4', '1.21.0-alpha.3'] + os: ["ubuntu", "macos"] + version: + ["1.22.0-m2", "1.22.0-m1", "1.21.0-m3", "1.21.0-m2", "1.21.0-alpha.4"] fail-fast: false runs-on: ${{ matrix.os }}-latest steps: diff --git a/.github/workflows/update-license.yml b/.github/workflows/update-license.yml index 39df8d0..9ab41be 100644 --- a/.github/workflows/update-license.yml +++ b/.github/workflows/update-license.yml @@ -1,9 +1,9 @@ --- name: Update license -on: # yamllint disable-line rule:truthy +on: # yamllint disable-line rule:truthy schedule: - - cron: '0 5 1 1 *' + - cron: "0 5 1 1 *" jobs: run: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f31125b..bf96eee 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -26,6 +26,10 @@ repos: hooks: - id: yamllint # Other + - repo: https://github.com/pre-commit/mirrors-prettier + rev: v3.0.0-alpha.6 + hooks: + - id: prettier - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.4.0 hooks: diff --git a/.yamllint.yml b/.yamllint.yml index 6f09680..4ef65de 100644 --- a/.yamllint.yml +++ b/.yamllint.yml @@ -2,6 +2,9 @@ extends: default rules: + comments: + min-spaces-from-content: 1 line-length: max: 165 + allow-non-breakable-inline-mappings: true level: error diff --git a/README.md b/README.md index f8b795e..137527a 100644 --- a/README.md +++ b/README.md @@ -11,9 +11,11 @@ Supported OS: Linux and macOS. ## Inputs + | Name | Required | Description | Default | Possible values | |---------|----------|---------------------------------------------------------------------------------------------|-------------|-----------------| -| version | No | Version of `Ciao` tool that can be found [here](https://github.com/ciao-lang/ciao/releases) | `1.22.0-m1` | <String> | +| version | No | Version of `Ciao` tool that can be found [here](https://github.com/ciao-lang/ciao/releases) | `1.22.0-m2` | <String> | + ## Example usage diff --git a/action.yml b/action.yml index 56bb321..062dcb0 100644 --- a/action.yml +++ b/action.yml @@ -1,17 +1,17 @@ --- -name: 'Setup Ciao' +name: "Setup Ciao" author: Yevhen Fabizhevskyi -description: 'This action installs Ciao CLI tool.' +description: "This action installs Ciao CLI tool." branding: icon: terminal color: gray-dark inputs: version: - description: 'Ciao version.' + description: "Ciao version." required: false - default: '1.22.0-m1' + default: "1.22.0-m2" runs: - using: 'composite' + using: "composite" steps: - name: Fail if: ${{ runner.os == 'Windows' }}