Skip to content

Commit

Permalink
chore: use blacksmith actions (#13)
Browse files Browse the repository at this point in the history
* chore: use python blacksmith action

* chore: use blacksmith action
  • Loading branch information
ArielSantos01 authored Dec 23, 2024
1 parent 549867a commit 0e3344c
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,20 +51,9 @@ inputs:
runs:
using: composite
steps:
- name: Setup Git and Pip
shell: bash
run: |
if ! [ -x "$(command -v git)" ]; then
sudo apt-get update
sudo apt-get install git -y
sudo apt-get install python3-pip -y
else
echo "Git already installed..."
fi
- name: Setup Golang
if: ${{ inputs.go == 'true' || inputs.enable-all == 'true'}}
uses: magnetikonline/action-golang-cache@main
uses: Drafteame/go-cache-action@main
with:
go-version: ${{ inputs.go-version }}

Expand All @@ -76,7 +65,6 @@ runs:
working-directory: ${{ inputs.node-working-directory }}
cache-key-suffix: ${{ inputs.node-cache-key-suffix }}

# POC
- name: Install poetry
if: ${{ inputs.python == 'true' || inputs.enable-all == 'true'}}
uses: abatilo/actions-poetry@v2
Expand All @@ -85,7 +73,7 @@ runs:


- if: ${{ inputs.python == 'true' || inputs.enable-all == 'true'}}
uses: actions/setup-python@v5
uses: useblacksmith/setup-python@v6
with:
python-version: ${{ inputs.python-version }}
cache: 'poetry'
Expand Down

0 comments on commit 0e3344c

Please sign in to comment.