Skip to content

Commit

Permalink
ops: add missing step names
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesrocket committed Aug 17, 2024
1 parent 0880062 commit 74de2c3
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 11 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,13 @@ jobs:
contents: write

steps:
- uses: actions/checkout@v4
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false

- uses: taiki-e/create-gh-release-action@v1
- name: Publish release
uses: taiki-e/create-gh-release-action@v1
with:
changelog: CHANGELOG.md
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -56,7 +58,8 @@ jobs:
with:
persist-credentials: false

- uses: goto-bus-stop/setup-zig@v2
- name: Install Zig
uses: goto-bus-stop/setup-zig@v2
with:
version: ${{ env.ZIG_VERSION }}

Expand Down Expand Up @@ -109,7 +112,8 @@ jobs:
with:
persist-credentials: false

- uses: goto-bus-stop/setup-zig@v2
- name: Install Zig
uses: goto-bus-stop/setup-zig@v2
with:
version: ${{ env.ZIG_VERSION }}

Expand Down
21 changes: 14 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ jobs:

runs-on: ${{ matrix.os }}-latest
steps:
- uses: actions/checkout@v4
- uses: goto-bus-stop/setup-zig@v2
- name: Checkout
uses: actions/checkout@v4
- name: Install Zig
uses: goto-bus-stop/setup-zig@v2
with:
version: ${{ env.ZIG_VERSION }}

Expand All @@ -36,8 +38,10 @@ jobs:
runs-on: ubuntu-latest
if: "!startsWith(github.ref, 'refs/tags/')"
steps:
- uses: actions/checkout@v4
- uses: goto-bus-stop/setup-zig@v2
- name: Checkout
uses: actions/checkout@v4
- name: Install Zig
uses: goto-bus-stop/setup-zig@v2
with:
version: ${{ env.ZIG_VERSION }}

Expand All @@ -62,9 +66,12 @@ jobs:
if: "!startsWith(github.ref, 'refs/tags/')"

steps:
- uses: actions/checkout@v4
- uses: goto-bus-stop/setup-zig@v2
- run: zig fmt --check .
- name: Checkout
uses: actions/checkout@v4
- name: Install Zig
uses: goto-bus-stop/setup-zig@v2
- name: Check formatting
run: zig fmt --check .

release:
name: Release
Expand Down

0 comments on commit 74de2c3

Please sign in to comment.