Skip to content

Commit 5c09533

Browse files
committed
...
1 parent 97abc64 commit 5c09533

File tree

2 files changed

+73
-2
lines changed

2 files changed

+73
-2
lines changed

misc/content/2020/09/tips-on-github-actions/tips-on-github-actions.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Slug: tips-on-github-actions
55
Title: Tips on GitHub Actions
66
Category: Computer Science
77
Tags: Computer Science, GitHub Actions, CICD
8-
Modified: 2025-11-17 19:55:48
8+
Modified: 2025-11-21 09:23:02
99

1010
**Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!**
1111

@@ -152,6 +152,20 @@ https://github.com/peter-evans/create-pull-request
152152

153153
[Introducing GitHub Package Registry](https://www.youtube.com/watch?v=N_-Cu9_2YAA)
154154

155+
#### Examples of Using Docker Containers
156+
157+
- [fun-poker-game/poker-rs - profiling.yml](https://github.com/fun-poker-game/poker-rs/blob/dev/.github/workflows/profiling.yml)
158+
159+
- [fun-poker-game/poker-rs - pre-release_centos7.yml](https://github.com/fun-poker-game/poker-rs/blob/dev/.github/workflows/pre-release_centos7.yml)
160+
161+
- [fun-poker-game/poker-rs - on_merge.yml](https://github.com/fun-poker-game/poker-rs/blob/dev/.github/workflows/on_merge.yml)
162+
163+
- [fun-poker-game/poker-rs - lint.yml](https://github.com/fun-poker-game/poker-rs/blob/dev/.github/workflows/lint.yml)
164+
165+
- [fun-poker-game/poker-rs - bench_on_pr.yml](https://github.com/fun-poker-game/poker-rs/blob/dev/.github/workflows/bench_on_pr.yml)
166+
167+
- [legendu-net/aiutil - lint.yml](https://github.com/legendu-net/aiutil/blob/dev/.github/workflows/lint.yml)
168+
155169
## Self-hosted Runners
156170

157171
1. straight forward to set up self-hosted runners following instructions

misc/content/2022/06/tips-on-golang/tips-on-golang.ipynb

Lines changed: 58 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"source": [
77
"- Author: Benjamin Du\n",
88
"- Date: 2022-06-04 17:56:46\n",
9-
"- Modified: 2022-07-09 22:10:13\n",
9+
"- Modified: 2025-11-21 10:56:22\n",
1010
"- Title: Tips on Golang\n",
1111
"- Slug: tips-on-golang\n",
1212
"- Category: Computer Science\n",
@@ -44,6 +44,63 @@
4444
"import \"os/exec\""
4545
]
4646
},
47+
{
48+
"cell_type": "markdown",
49+
"metadata": {},
50+
"source": [
51+
"## Updating Dependencies"
52+
]
53+
},
54+
{
55+
"cell_type": "code",
56+
"execution_count": null,
57+
"metadata": {},
58+
"outputs": [],
59+
"source": [
60+
"go get -u"
61+
]
62+
},
63+
{
64+
"cell_type": "code",
65+
"execution_count": null,
66+
"metadata": {},
67+
"outputs": [],
68+
"source": [
69+
"go get example.com/some/module@latest"
70+
]
71+
},
72+
{
73+
"cell_type": "markdown",
74+
"metadata": {},
75+
"source": [
76+
"## Cleaning up dependencies"
77+
]
78+
},
79+
{
80+
"cell_type": "code",
81+
"execution_count": null,
82+
"metadata": {},
83+
"outputs": [],
84+
"source": [
85+
"go mod tidy"
86+
]
87+
},
88+
{
89+
"cell_type": "markdown",
90+
"metadata": {},
91+
"source": [
92+
"## Verifying dependencies"
93+
]
94+
},
95+
{
96+
"cell_type": "code",
97+
"execution_count": null,
98+
"metadata": {},
99+
"outputs": [],
100+
"source": [
101+
"go mod verify"
102+
]
103+
},
47104
{
48105
"cell_type": "markdown",
49106
"metadata": {},

0 commit comments

Comments
 (0)