Initial commit of shared Gitea actions
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
name: 'Run Buildifier'
|
||||
description: 'Downloads and runs buildifier on Starlark files.'
|
||||
inputs:
|
||||
version:
|
||||
description: 'Buildifier version to download'
|
||||
required: false
|
||||
default: 'v8.0.1'
|
||||
|
||||
runs:
|
||||
using: 'composite'
|
||||
steps:
|
||||
- name: Run Buildifier
|
||||
shell: bash
|
||||
run: |
|
||||
curl -sSL "https://github.com/bazelbuild/buildtools/releases/download/${{ inputs.version }}/buildifier-linux-amd64" -o buildifier
|
||||
chmod +x buildifier
|
||||
./buildifier --mode=check -r .
|
||||
Reference in New Issue
Block a user