Skip to content

remarkablemark/setup-tq

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

setup-tq

GitHub Release test lint

⚙️ Set up GitHub Actions with tq (tomlq).

Quick Start

on: push
jobs:
  setup-tq:
    runs-on: ubuntu-latest
    steps:
      - name: Setup tq
        uses: remarkablemark/setup-tq@v1

      - name: Show project version
        run: tq -f pyproject.toml 'project.version' -r

Usage

Basic:

- uses: remarkablemark/setup-tq@v1

See action.yml

Inputs

version

Optional: The tq binary version. Defaults to 0.2.2:

- uses: remarkablemark/setup-tq@v1
  with:
    version: 0.2.2

cache

Optional: Whether to cache the tq binary. Defaults to true:

- uses: remarkablemark/setup-tq@v1
  with:
    cache: false

License

MIT

Packages

 
 
 

Contributors

Languages