Skip to content

Commit

Permalink
setup GH action WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
K-Phoen committed Mar 12, 2024
1 parent 3070541 commit 6a59c58
Show file tree
Hide file tree
Showing 15 changed files with 31,005 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/test-action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: test setup action

on:
pull_request: {}

jobs:
lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: ./actions/setup
#with:
# version: v0.4.0

- name: Lint
run: grr --version
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
*.orig
*.swp
.idea
/actions/*/node_modules
1 change: 1 addition & 0 deletions actions/setup/.nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20
17 changes: 17 additions & 0 deletions actions/setup/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Grizzly - `setup` GitHub Action

This action downloads and adds Grizzly to the PATH.

## Inputs

### `version`

**Required** Version of Grizzly to install. Default `"latest"`.

## Example usage

```yaml
uses: grafana/grizzly/actions/setup@main
with:
version: 'v0.4.0'
```
12 changes: 12 additions & 0 deletions actions/setup/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: 'Setup Grizzly'
description: 'Setup Grizzly - A utility for managing Grafana resources'

runs:
using: 'node20'
main: 'dist/index.js'

inputs:
version:
description: 'Version of grizzly to install'
required: true
default: 'latest'
15 changes: 15 additions & 0 deletions actions/setup/dist/464.index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions actions/setup/dist/464.index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6a59c58

Please sign in to comment.