Skip to content

Commit fc6ff12

Browse files
committed
feat: update EditorConfig for YAML and Markdown files, and refactor GitHub workflows
1 parent 77196ee commit fc6ff12

3 files changed

Lines changed: 18 additions & 12 deletions

File tree

.editorconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,12 @@ end_of_line = lf
1010
charset = utf-8
1111
trim_trailing_whitespace = false
1212
insert_final_newline = false
13+
14+
[*.yml]
15+
indent_size = 2
16+
17+
[*.yaml]
18+
indent_size = 2
19+
20+
[*.md]
21+
trim_trailing_whitespace = true

.github/workflows/pre-commit.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,8 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v4
14-
- uses: asdf-vm/actions/install@v3
15-
env:
16-
ASDF_GOLANG_DEFAULT_PACKAGES_FILE: ./.default-golang-pkgs
14+
- uses: jdx/mise-action@v2
1715
- uses: actions/setup-python@v5
1816
with:
19-
python-version: '3.11.4'
17+
python-version: "3.11.4"
2018
- uses: pre-commit/action@v3.0.1

.github/workflows/release.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,19 @@ jobs:
1414
goreleaser:
1515
runs-on: ubuntu-latest
1616
steps:
17-
-
18-
name: Checkout
17+
- name: Checkout
1918
uses: actions/checkout@v4
2019
with:
2120
fetch-depth: 0
22-
-
23-
name: Set up Go
24-
uses: actions/setup-go@v5
25-
-
26-
name: Run GoReleaser
21+
22+
- name: Set up tooling
23+
uses: jdx/mise-action@v2
24+
25+
- name: Run GoReleaser
2726
uses: goreleaser/goreleaser-action@v6
2827
with:
2928
distribution: goreleaser
30-
version: '~> v2'
29+
version: "~> v2"
3130
args: release --clean
3231
env:
3332
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)