Skip to content

Commit

Permalink
Release v0.1.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
fishinthecalculator committed Feb 27, 2024
1 parent 8180a30 commit 2affbb8
Showing 1 changed file with 19 additions and 25 deletions.
44 changes: 19 additions & 25 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,25 @@
name: 'Bonfire extension QA'
author: 'Giacomo Leidi'
author: 'Bonfire Networks'
description: 'Uses Bonfire extensions standard commands to build and test an extension'
# inputs:
# name:
# description: 'The name of the output image you would like to push'
# required: true
# username:
# description: 'The login username for the registry'
# required: true
# password:
# description: 'The login password for the registry'
# required: true
# image:
# description: 'The input image path'
# required: true
# registry:
# description: 'Use registry for pushing to a custom registry'
# required: false
# workdir:
# description: 'Use workdir when you would like to change the directory for building'
# required: false
inputs:
elixir-version:
description: 'The version of Elixir to be used for building and testing'
required: false
default: '26.0'
otp-version:
description: 'The version of OTP to be used for building and testing'
required: false
default: '1.15.2'
runs:
using: "composite"
steps:
- uses: actions/checkout@v4

- name: Set up Elixir
uses: erlef/setup-beam@61e01a43a562a89bfc54c7f9a378ff67b03e4a21 # v1.16.0
uses: erlef/setup-beam@v1
with:
elixir-version: '1.15.2' # [Required] Define the Elixir version
otp-version: '26.0' # [Required] Define the Erlang/OTP version
elixir-version: ${{ inputs.elixir-version }} # [Required] Define the Elixir version
otp-version: ${{ inputs.otp-version }} # [Required] Define the Erlang/OTP version

- name: Restore dependencies cache
uses: actions/cache@v3
Expand All @@ -42,10 +32,14 @@ runs:
run: sudo snap install --edge just --classic
shell: bash

- name: Random Number Generator
- name: Get dependencies
run: just deps-get
shell: bash

- name: Set GitHub Path
- name: Compile package
run: just compile
shell: bash

- name: Run tests
run: just test
shell: bash

0 comments on commit 2affbb8

Please sign in to comment.