Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Github Action for setting up myks with dependencies

License

Notifications You must be signed in to change notification settings

mykso/setup-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Myks setup action

A GitHub Action to setup myks in your workflow.

Usage

- name: Setup myks
  uses: mykso/[email protected]
  with:
    # myks version to install, `latest` if not specified
    # check for available versions at github.com/mykso/myks/releases
    myks: v4.11.0
    # GitHub token to avoid rate limits (optional)
    token: ${{ secrets.GITHUB_TOKEN }}

Important

Always pin tools to a specific version to avoid unexpected issues. Use Renovate or Dependabot to keep your versions up to date automatically. See the example below for a Renovate configuration.

Inputs

Input Description Required Default
myks myks version to install No latest
token GitHub token to avoid rate limits No ''

Example

name: Use myks
on:
  pull_request:

jobs:
  test:
    runs-on: ubuntu-latest
    env:
      # renovate: datasource=github-releases depName=mykso/myks
      MYKS_VERSION: v4.11.0
    steps:
      - uses: actions/[email protected]

      - name: Setup myks
        uses: mykso/[email protected]
        with:
          myks: ${{ env.MYKS_VERSION }}
          token: ${{ secrets.GITHUB_TOKEN }}

      - name: Run myks
        run: myks --help

Keeping Versions Up to Date with Renovate

Here is a minimal Renovate configuration to keep both the action and myks versions pinned and up to date:

{
  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
  "extends": ["config:best-practices", "customManagers:githubActionsVersions"]
}

About

Github Action for setting up myks with dependencies

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •