We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
0 parents commit 38f466eCopy full SHA for 38f466e
.github/workflows/lab0.yml
@@ -0,0 +1,25 @@
1
+# This workflow will build a golang project
2
+# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
3
+
4
+name: lab0
5
6
+on:
7
+ push:
8
+ paths:
9
+ - 'lab0/**'
10
11
+jobs:
12
13
+ build:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@v4
17
18
+ - uses: actions/setup-go@v4
19
+ with:
20
+ go-version-file: 'lab0/go.mod'
21
+ cache: false
22
23
+ - name: Run
24
+ working-directory: 'lab0'
25
+ run: go run .
lab0/go.mod
@@ -0,0 +1,3 @@
+module lab0
+go 1.23
lab0/lab0.go
@@ -0,0 +1,7 @@
+package main
+import "fmt"
+func main() {
+ fmt.Println("Hello World")
+}
0 commit comments