Skip to content

Commit 09a3c5c

Browse files
committed
🎉 First release
1 parent d55e34b commit 09a3c5c

File tree

666 files changed

+64890
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

666 files changed

+64890
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/go
3+
{
4+
"name": "Dev Container",
5+
"image": "mcr.microsoft.com/devcontainers/base:jammy",
6+
// Features to add to the dev container.
7+
// More info: https://containers.dev/features.
8+
"features": {
9+
"ghcr.io/devcontainers/features/git-lfs:1": {
10+
"version": "latest"
11+
},
12+
"ghcr.io/devcontainers/features/docker-in-docker:2": {
13+
"version": "latest"
14+
},
15+
"ghcr.io/devcontainers/features/python:1": {
16+
"version": "3.9"
17+
},
18+
"ghcr.io/devcontainers/features/go:1": {
19+
"version": "1.25"
20+
}
21+
},
22+
"remoteUser": "vscode",
23+
// Use 'postCreateCommand' to run commands after the container is created.
24+
// Don't overwrite program.gpg here because `postCreateCommand` is executed
25+
// before .gitconfig is copied over from the host system to the container.
26+
// See https://github.com/microsoft/vscode-remote-release/issues/6810#issuecomment-1153597718
27+
// and https://github.com/microsoft/vscode-remote-release/issues/6810#issuecomment-1159354677
28+
// "postCreateCommand": "git config --global program.gpg $(which gpg)",
29+
"postStartCommand": ".devcontainer/post-start.sh",
30+
"postAttachCommand": ".devcontainer/post-attach.sh",
31+
"postCreateCommand": ".devcontainer/post-create.sh",
32+
"customizations": {
33+
"vscode": {
34+
"extensions": [
35+
// Keep in sync with .vscode/extensions.json
36+
"golang.go",
37+
"GitHub.copilot",
38+
"ms-python.python",
39+
"github.vscode-github-actions",
40+
"eamodio.gitlens",
41+
"shd101wyy.markdown-preview-enhanced",
42+
"Actionforge.actionforge"
43+
]
44+
}
45+
},
46+
"workspaceFolder": "/workspaces/actrun",
47+
"mounts": [
48+
"source=${localEnv:HOME}${localEnv:USERPROFILE}/Desktop,target=/home/vscode/Desktop,type=bind,consistency=consistent",
49+
"source=${localEnv:HOME}${localEnv:USERPROFILE}/.ssh,target=/home/vscode/.ssh,type=bind,consistency=consistent"
50+
]
51+
}

.devcontainer/post-attach.sh

Whitespace-only changes.

.devcontainer/post-create.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
echo 'export PATH=/workspaces/actrun:$PATH' >> ~/.zshrc

.devcontainer/post-start.sh

Whitespace-only changes.

.github/ISSUE_TEMPLATE.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
❤️ First off, thanks for taking the time to contribute! ❤️
2+
3+
## Contributions
4+
5+
Please read the [contributions section](https://github.com/actionforge/legal/blob/main/LICENSE.md#contributions) before submitting a new issue.
6+
7+
## Describe the bug or feature
8+
9+
A clear and concise description of what the bug is.
10+
11+
## To reproduce a bug
12+
13+
Steps to reproduce the behavior:
14+
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
## Expected behavior
21+
22+
A clear and concise description of what you expected to happen.
23+
24+
## Screenshots
25+
26+
If applicable, add screenshots to help explain your problem.
27+
28+
## GitHub Repo Link
29+
30+
If applicable, add a link to the GitHub Actions workflow.
31+
32+
## Additional context
33+
34+
Add any other context about the problem here.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Contributing to Actionforge
2+
3+
❤️ First off, thanks for taking the time to contribute! ❤️
4+
5+
Before you create a pull request, please make sure you check the following:
6+
7+
- [ ] A description of the problem you're trying to solve.
8+
- [ ] An overview of the suggested solution.
9+
- [ ] Your code should contain tests relevant for the problem you are solving.
10+
- [ ] If the feature changes current behavior, reasons why your solution is better.
11+
12+
- [ ] I AGREE to grant Actionforge a non-exclusive, fully-paid, irrevocable, transferable, sublicensable license to use, modify, and distribute my contributions.
13+
- [ ] I CONFIRM to have the necessary rights to provide my contributions.
14+
- [ ] I WAIVE all rights to my contributions.
Lines changed: 145 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,145 @@
1+
entry: gh-start
2+
nodes:
3+
- id: gh-start
4+
type: core/gh-start@v1
5+
position:
6+
x: -120
7+
y: 130
8+
- id: gh-actions-checkout-gray-butterfly-apple
9+
type: github.com/actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
10+
position:
11+
x: 410
12+
y: 450
13+
- id: gh-actions-setup-go-shark-pineapple-lemon
14+
type: github.com/actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7
15+
position:
16+
x: 1150
17+
y: 220
18+
inputs:
19+
go-version: '1.25'
20+
- id: run-v1-coconut-banana-green
21+
type: core/run@v1
22+
position:
23+
x: 1760
24+
y: 70
25+
inputs:
26+
script: >-
27+
go mod tidy
28+
29+
30+
go vet
31+
32+
33+
go test ./... -v -race -coverpkg=./... -cover -coverprofile cover.out
34+
--tags=tests_unit,integration_tests,tests_system,github_impl
35+
36+
37+
go tool cover -html cover.out -o cover.html
38+
env:
39+
- CGO_ENABLED=1
40+
- id: gh-actions-upload-artifact-peach-blackberry-purple
41+
type: >-
42+
github.com/actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808
43+
position:
44+
x: 3140
45+
y: 110
46+
inputs:
47+
name: cover
48+
path: cover.html
49+
- id: run-v1-red-raspberry-brown
50+
type: core/run@v1
51+
position:
52+
x: 2350
53+
y: -160
54+
inputs:
55+
script: |-
56+
OS="$(uname -s)"
57+
58+
case "$OS" in
59+
Linux*) OUTPUT="actrun";;
60+
Darwin*) OUTPUT="actrun";;
61+
CYGWIN*) OUTPUT="actrun.exe";;
62+
MINGW*) OUTPUT="actrun.exe";;
63+
MSYS*) OUTPUT="actrun.exe";;
64+
*) OUTPUT="actrun";;
65+
esac
66+
67+
go build --tags=github_impl -o "$OUTPUT" .
68+
env:
69+
- CGO_ENABLED=1
70+
- id: env-get-v1-panda-apple-rabbit
71+
type: core/env-get@v1
72+
position:
73+
x: 2130
74+
y: 660
75+
inputs:
76+
env: UPLOAD_COVER
77+
- id: branch-v1-penguin-monkey-kiwi
78+
type: core/branch@v1
79+
position:
80+
x: 2930
81+
y: 260
82+
- id: string-match-v1-watermelon-giraffe-squirrel
83+
type: core/string-match@v1
84+
position:
85+
x: 2460
86+
y: 630
87+
inputs:
88+
op: equals
89+
str2: 'true'
90+
connections:
91+
- src:
92+
node: env-get-v1-panda-apple-rabbit
93+
port: env
94+
dst:
95+
node: string-match-v1-watermelon-giraffe-squirrel
96+
port: str1
97+
- src:
98+
node: string-match-v1-watermelon-giraffe-squirrel
99+
port: result
100+
dst:
101+
node: branch-v1-penguin-monkey-kiwi
102+
port: condition
103+
executions:
104+
- src:
105+
node: run-v1-coconut-banana-green
106+
port: exec-success
107+
dst:
108+
node: run-v1-red-raspberry-brown
109+
port: exec
110+
- src:
111+
node: branch-v1-penguin-monkey-kiwi
112+
port: exec-then
113+
dst:
114+
node: gh-actions-upload-artifact-peach-blackberry-purple
115+
port: exec
116+
- src:
117+
node: run-v1-red-raspberry-brown
118+
port: exec-success
119+
dst:
120+
node: branch-v1-penguin-monkey-kiwi
121+
port: exec
122+
- src:
123+
node: gh-start
124+
port: exec-on_workflow_dispatch
125+
dst:
126+
node: gh-actions-checkout-gray-butterfly-apple
127+
port: exec
128+
- src:
129+
node: gh-start
130+
port: exec-on_push
131+
dst:
132+
node: gh-actions-checkout-gray-butterfly-apple
133+
port: exec
134+
- src:
135+
node: gh-actions-checkout-gray-butterfly-apple
136+
port: exec-success
137+
dst:
138+
node: gh-actions-setup-go-shark-pineapple-lemon
139+
port: exec
140+
- src:
141+
node: gh-actions-setup-go-shark-pineapple-lemon
142+
port: exec-success
143+
dst:
144+
node: run-v1-coconut-banana-green
145+
port: exec

0 commit comments

Comments
 (0)