inital test commit
Run script on commit / run-bash (push) Failing after 2m29s

This commit is contained in:
Romane
2026-05-01 19:55:14 +02:00
commit cbd8e01b91
4 changed files with 38 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
name: Run script on commit
on:
push: {}
jobs:
run-bash:
runs-on: ubuntu-latest # use the runner label you have
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Make script executable
run: |
chmod +x ./scripts/test.sh
- name: Run script on current tree
run: |
./scripts/test.sh
+3
View File
@@ -0,0 +1,3 @@
module testmodule
go 1.24.4
+7
View File
@@ -0,0 +1,7 @@
package main
import "fmt"
func main() {
fmt.PrintLn("Some test yayyy")
}
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
set -e
apt install -y golang
go run main.go
echo "Done running!"