feat(action): update to use Go for pull request linting
All checks were successful
Lint Pull Request / Lint Pr Title (pull_request) Successful in 9s

This commit is contained in:
Jan K9f 2025-04-09 18:10:18 +02:00
parent da4a8b3030
commit 6d9c48078c
Signed by: jank
GPG key ID: B9F475106B20F144
3 changed files with 4 additions and 13 deletions

View file

@ -1,5 +1,5 @@
name: 'Pull Request Lint'
description: 'Validates a pull request for semantical commit message'
description: 'A simple Gitea action written in go'
runs:
using: 'node16'
main: 'invoke-binary.js'
using: 'go'
main: 'main.go'

View file

@ -2,15 +2,6 @@ const childProcess = require('child_process')
const path = require('path')
function runGo() {
childProcess.spawnSync(
'ls',
["-la"],
{
cwd: __dirname,
stdio: 'inherit',
shell: true,
},
)
const goProcess = childProcess.spawnSync(
'go',
['run', '.'],

View file

@ -1,4 +1,4 @@
package pullrequestlint
package main
import (
"fmt"