icns

Easily create .icns files (Mac Icons) with this Go library or the included CLI.
Log | Files | Refs | LICENSE

commit 7ed3aef71850d972b3d4dabf20c62f499e68d745
parent df287f9adc7f7a8ea35928d2015019afa9499204
Author: Jack Mordaunt <jackmordaunt.dev@gmail.com>
Date:   Sun, 20 Sep 2026 07:14:58 -0300

ci: pin the actions to commit hashes

A mutable tag lets whoever controls the action's repository change what runs
against this one's secrets. The version stays legible in a trailing comment,
which is what dependabot reads when it bumps the pin.

Diffstat:
M.github/workflows/ci.yml | 30+++++++++++++++---------------
M.github/workflows/winget.yml | 2+-
2 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml @@ -21,10 +21,10 @@ jobs: matrix: os: [ubuntu-latest, macos-latest, windows-latest] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 # go-version-file reads the go directive, so CI proves the declared # minimum actually builds rather than whatever is newest. - - uses: actions/setup-go@v5 + - uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0 with: go-version-file: go.mod cache-dependency-path: | @@ -48,8 +48,8 @@ jobs: name: library under the race detector runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-go@v5 + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 + - uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0 with: go-version-file: go.mod cache-dependency-path: go.sum @@ -60,15 +60,15 @@ jobs: name: decoder fuzzing runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-go@v5 + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 + - uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0 with: go-version-file: go.mod cache-dependency-path: go.sum - run: go test -run='^$' -fuzz=FuzzDecode -fuzztime=120s . - name: Keep any crasher for download if: failure() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: name: fuzz-corpus path: testdata/fuzz @@ -79,8 +79,8 @@ jobs: # the macOS runner. The tests are darwin-only, so this is where they run. runs-on: macos-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-go@v5 + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 + - uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0 with: go-version-file: go.mod cache-dependency-path: go.sum @@ -103,8 +103,8 @@ jobs: run: working-directory: cmd/shell-extension steps: - - uses: actions/checkout@v4 - - uses: actions/setup-go@v5 + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 + - uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0 with: go-version-file: cmd/shell-extension/go.mod cache-dependency-path: cmd/shell-extension/go.sum @@ -131,8 +131,8 @@ jobs: run: working-directory: cmd/preview steps: - - uses: actions/checkout@v4 - - uses: actions/setup-go@v5 + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 + - uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0 with: go-version-file: cmd/preview/go.mod cache-dependency-path: cmd/preview/go.sum @@ -148,8 +148,8 @@ jobs: name: formatting, vet and vulnerabilities runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-go@v5 + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 + - uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0 with: go-version: stable cache-dependency-path: | diff --git a/.github/workflows/winget.yml b/.github/workflows/winget.yml @@ -7,7 +7,7 @@ jobs: publish: runs-on: ubuntu-latest steps: - - uses: vedantmgoyal9/winget-releaser@v2 + - uses: vedantmgoyal9/winget-releaser@4ffc7888bffd451b357355dc214d43bb9f23917e # v2 with: identifier: JackMordaunt.icnsify installers-regex: '_windows_\w+\.zip$'