Skip to content

kobtea/setup-jsonnet-action

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

Repository files navigation

Setup Jsonnet

This GitHub Action installs jsonnet binaries. Installed binaries are:

  • jsonnet
  • jsonnetfmt
  • jb

Source files are:

Refer to each repository to check licenses of binaries to install.

Usage

Example workflow

name: Jsonnet
on:
  pull_request:
  push:

jobs:
  format:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v6
      - uses: kobtea/setup-jsonnet-action@v3
      - run: |
          jb install
          find . -type f | xargs -IFILE bash -c "jsonnetfmt FILE | diff -u FILE -"

Develop this action

Install the dependencies

$ npm install

Format, test, and build the action

$ npm run all

Package for distribution

$ npm run bundle

Publish a new release

Commit the rebuilt dist/ directory and push a new tag:

$ git add dist
$ git commit -m "chore: rebuild dist for vX"
$ git tag vX
$ git push origin vX

See the versioning documentation

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Generated from actions/typescript-action