Skip to content

Commit

Permalink
Merge pull request #8 from datpmt/action-marketplace
Browse files Browse the repository at this point in the history
Action marketplace
  • Loading branch information
datpmt authored Dec 8, 2024
2 parents 897dee2 + 58aba16 commit 59631c9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/typocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,6 @@ jobs:
with:
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.14.0-alpha.1'

- name: Install typos
run: |
python3 -m pip install --upgrade pip
pip install typos
- name: Run Typocop Action
uses: ./
with:
Expand Down
15 changes: 13 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,29 @@ inputs:
description: 'Pull Request ID'
required: true
github_base_ref:
description: 'GitHub Base Reference'
description: 'GitHub Base Ref'
required: true

runs:
using: 'composite'
steps:
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.14.0-alpha.1'

- name: Install typos
run: |
python3 -m pip install --upgrade pip
pip install typos
shell: bash

- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1'

- name: Install dependencies
- name: Install Typocop
run: |
gem install typocop
shell: bash
Expand Down

0 comments on commit 59631c9

Please sign in to comment.