Skip to content
Open

Mac #13

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
cbd27cf
Add first commit
juric1962 Jan 30, 2024
745ed82
add file
juric1962 Jan 30, 2024
2bb7e10
New file
juric1962 Jan 30, 2024
914d181
Delatr file
juric1962 Jan 30, 2024
ceaf9b6
Сhange gitignore
juric1962 Jan 16, 2025
5c4d393
abraca abra
juric1962 Jan 17, 2025
0c9ed16
mac commit 1
juric1962 Mar 10, 2025
9193a75
Update gomac.yaml
juric1962 Mar 10, 2025
92acb08
mac commit echo
juric1962 Mar 15, 2025
79eefd2
Update gomac.yaml
juric1962 Mar 15, 2025
6c0f175
mac commit echo2
juric1962 Mar 15, 2025
f7b7a06
Merge remote-tracking branch 'refs/remotes/origin/mac' into mac
juric1962 Mar 15, 2025
4190d13
mac commit echo3
juric1962 Mar 15, 2025
8efc2eb
mac commit echo4
juric1962 Mar 15, 2025
70b73c8
mac commit echo5
juric1962 Mar 15, 2025
c3bbec7
mac commit echo6
juric1962 Mar 15, 2025
b08cefc
Update gomac.yaml
juric1962 Mar 15, 2025
6cf2fb3
Update workflow gomac.yaml
juric1962 Mar 15, 2025
340c212
Update gomac.yaml
juric1962 Mar 15, 2025
22abfe4
Update gomac.yaml
juric1962 Mar 15, 2025
cdd30c7
Update gomac.yaml
juric1962 Mar 15, 2025
1e41268
Update gomac.yaml
juric1962 Mar 15, 2025
ede3a93
Update gomac.yaml
juric1962 Mar 15, 2025
fa1e843
Update gomac.yaml
juric1962 Mar 17, 2025
add8df9
Update gomac.yaml
juric1962 Mar 17, 2025
00da206
Update gomac.yaml
juric1962 Mar 17, 2025
003805a
Update main.go
juric1962 Apr 6, 2025
aef0f5f
Update main.go
juric1962 Apr 6, 2025
4258e7b
Update main.go
juric1962 Apr 9, 2025
4da87c9
Update main.go
juric1962 Apr 16, 2025
aad0b7d
Update main.go
juric1962 Apr 16, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 61 additions & 0 deletions .github/workflows/gomac.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Название рабочего процесса
name: Go

# Условие запуска
on:
workflow_call:
inputs:
username:
description: 'A username passed from the caller workflow'
default: 'john-doe'
required: false
type: string
# Запуск по событию "push" (заливка изменений в ветку)
push:
# Указывает, что нужно запускать рабочий процесс, только если событие относится к ветке main
branches: [ "mac" ]
# Запуск по событию "pull_request". Поле "types" не указано, поэтому учитываются события по открытию, переоткрытию пул-реквеста и изменению в ветке.
pull_request:
# Указывает, что нужно запускать рабочий процесс, только если событие относится к ветке main
branches: [ "mac" ]

# Задания
jobs:
# Задание с идентификатором "build"
build:
# Для запуска задания используется раннер "ubuntu-latest", что соответствует последней версии Ubuntu
runs-on: ubuntu-latest

# Шаги задания
steps:
# Первый шаг использует действие "actions/checkout@v3", которое извлекает репозиторий для дальнейшей работы с ним
- uses: actions/checkout@v3

# Шаг с именем "Set up Go"
- name: Set up Go
# Этот шаг использует действие "actions/setup-go@v4", которое установит Go в систему
uses: actions/setup-go@v4
# Для этого действия можно задать версию Go, которую надо установить
with:
go-version: '1.20'

# Шаг с именем "Build"
- name: Build
# Этот шаг просто выполняет команду 'go build -v ./...'
run: go build -v ./...

# Шаг с именем "Test"
- name: Test
env:
MY_VAR: Hi there! My name is
# Этот шаг выполняет команду 'go test -v ./...'
run: |
go test -v ./...
echo $MY_VAR
echo The username is ${{ github.ref }}
- name: Dump strategy context
env:
STRATEGY_CONTEXT: ${{ toJson(runner) }}
run: echo "$STRATEGY_CONTEXT"


1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.doc
5 changes: 5 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package main

//
import (
"fmt"
)
Expand All @@ -11,3 +12,7 @@ func Add(a, b int) int {
func main() {
fmt.Println("Я домашка")
}




2 changes: 2 additions & 0 deletions new.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
1234
5678
Empty file added text.doc
Empty file.
1 change: 1 addition & 0 deletions vpn.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vless://da3be9ef-c812-4561-aa8d-0eeb857ec8ee@138.124.30.254:443?type=tcp&security=reality&pbk=FLUR4bdzuSH4A2OL-ERko3kcPi8NHr7OK4JhsGHXjkI&fp=random&sni=google.com&sid=f99760c19ba7e4&spx=%2F&flow=xtls-rprx-vision#Test1-ura