Skip to content

Commit 367cdef

Browse files
committed
Update workflow
1 parent ac2fdd6 commit 367cdef

1 file changed

Lines changed: 7 additions & 13 deletions

File tree

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
1-
name: test
1+
name: CI
22
on:
33
push:
44
branches:
55
- "*"
6+
pull_request:
67

78
jobs:
89
test-macos:
910
runs-on: macos-latest
1011
steps:
11-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
12+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1213
with:
1314
submodules: recursive
1415
- name: "Workaround: Prepare ~/.local/share/chezmoi"
1516
run: |
1617
mkdir -p "$HOME/.local/share"
1718
ln -s "$(pwd)" "$HOME/.local/share/chezmoi"
18-
- uses: jdx/mise-action@5083fe46898c414b2475087cc79da59e7da859e8 # v2.1.11
19+
- uses: jdx/mise-action@c37c93293d6b742fc901e1406b8f764f6fb19dac # v2.4.4
1920
- name: Install goss
2021
run: |
2122
sudo curl -L https://github.com/goss-org/goss/releases/latest/download/goss-darwin-amd64 -o /usr/local/bin/goss
@@ -30,8 +31,8 @@ jobs:
3031
test-static:
3132
runs-on: ubuntu-latest
3233
steps:
33-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
34-
- uses: jdx/mise-action@5083fe46898c414b2475087cc79da59e7da859e8 # v2.1.11
34+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
35+
- uses: jdx/mise-action@c37c93293d6b742fc901e1406b8f764f6fb19dac # v2.4.4
3536
- name: Install dependencies
3637
run: sudo apt install -y zsh
3738
- name: Run test
@@ -40,11 +41,4 @@ jobs:
4041
actionlint:
4142
runs-on: ubuntu-latest
4243
steps:
43-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
44-
- name: Download actionlint
45-
id: get_actionlint
46-
run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
47-
shell: bash
48-
- name: Check workflow files
49-
run: ${{ steps.get_actionlint.outputs.executable }} -color
50-
shell: bash
44+
- uses: reviewdog/action-actionlint@50b75b9513baa71e6a1899a1ebaa9ac9851cf16c # v1.66.0

0 commit comments

Comments
 (0)