diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 78ee366..53c845e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -40,10 +40,20 @@ jobs: - name: Lint and format check run: pnpm biome ci . - - name: Run actionlint - uses: docker://rhysd/actionlint:1.7.12@sha256:b1934ee5f1c509618f2508e6eb47ee0d3520686341fec936f3b79331f9315667 # v1.7.12 + - name: Set up Go + uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 with: - args: -shellcheck= -color + go-version: "1.25" + cache: false + + - name: Install actionlint + run: | + GOBIN="${RUNNER_TEMP}/bin" go install \ + github.com/rhysd/actionlint/cmd/actionlint@914e7df21a07ef503a81201c76d2b11c789d3fca # v1.7.12 + + - name: Run actionlint + run: | + "${RUNNER_TEMP}/bin/actionlint" -shellcheck= -color test: name: Unit Tests