diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f017fd6..b29784d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,8 +14,8 @@ jobs: version: ${{ steps.version-metadata.outputs.newVersion }} steps: - name: Checkout source code - uses: actions/checkout@v4 - - uses: Quantco/ui-actions/version-metadata@a0653e9fc0ee3c4be9f7cc88e509e40536e9f3c1 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: Quantco/ui-actions/version-metadata@a0653e9fc0ee3c4be9f7cc88e509e40536e9f3c1 # v1.0.15 id: version-metadata with: file: ./Cargo.toml @@ -56,14 +56,14 @@ jobs: cross: false steps: - name: Checkout source code - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - uses: dtolnay/rust-toolchain@stable with: targets: ${{ matrix.target }} - name: Rust cache - uses: Swatinem/rust-cache@82a92a6e8fbeee089604da2575dc567ae9ddeaab + uses: Swatinem/rust-cache@82a92a6e8fbeee089604da2575dc567ae9ddeaab # v2.7.5 with: key: build-${{ matrix.target }}-${{ needs.metadata.outputs.optimize-build }}-${{ matrix.cross }}-${{ matrix.os }} @@ -77,7 +77,7 @@ jobs: mv target/${{ matrix.target }}/${{ needs.metadata.outputs.optimize-build && 'release-min-size' || 'release' }}/pixi-pack${{ endsWith(matrix.target, 'windows-msvc') && '.exe' || '' }} pixi-pack-${{ matrix.target }}${{ endsWith(matrix.target, 'windows-msvc') && '.exe' || '' }} - name: Upload Artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 with: name: pixi-pack-${{ matrix.target }} path: pixi-pack-${{ matrix.target }}${{ endsWith(matrix.target, 'windows-msvc') && '.exe' || '' }} @@ -89,9 +89,9 @@ jobs: if: needs.metadata.outputs.release == 'true' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Download artifacts - uses: actions/download-artifact@v4 + uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8 with: pattern: pixi-pack-* merge-multiple: true @@ -100,7 +100,7 @@ jobs: git tag v${{ needs.metadata.outputs.version }} git push origin v${{ needs.metadata.outputs.version }} - name: Create Release - uses: softprops/action-gh-release@e7a8f85e1c67a31e6ed99a94b41bd0b71bbee6b8 + uses: softprops/action-gh-release@01570a1f39cb168c169c802c3bceb9e93fb10974 # v2.1.0 with: generate_release_notes: true tag_name: v${{ needs.metadata.outputs.version }} diff --git a/.github/workflows/chore.yml b/.github/workflows/chore.yml index 475d55b..252fbe4 100644 --- a/.github/workflows/chore.yml +++ b/.github/workflows/chore.yml @@ -18,7 +18,7 @@ jobs: steps: - name: Check valid conventional commit message id: lint - uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017 + uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017 # v5.5.3 with: subjectPattern: ^[A-Za-z].+[^. ]$ # subject must start with letter and may not end with a dot/space env: @@ -26,7 +26,7 @@ jobs: - name: Post comment about invalid PR title if: failure() - uses: marocchino/sticky-pull-request-comment@331f8f5b4215f0445d3c07b4967662a32a2d3e31 + uses: marocchino/sticky-pull-request-comment@331f8f5b4215f0445d3c07b4967662a32a2d3e31 # v2.9.0 with: header: conventional-commit-pr-title message: | @@ -44,13 +44,13 @@ jobs: - name: Delete comment about invalid PR title if: success() - uses: marocchino/sticky-pull-request-comment@331f8f5b4215f0445d3c07b4967662a32a2d3e31 + uses: marocchino/sticky-pull-request-comment@331f8f5b4215f0445d3c07b4967662a32a2d3e31 # v2.9.0 with: header: conventional-commit-pr-title delete: true - name: Assign labels - uses: release-drafter/release-drafter@3f0f87098bd6b5c5b9a36d49c41d998ea58f9348 + uses: release-drafter/release-drafter@3f0f87098bd6b5c5b9a36d49c41d998ea58f9348 # v6.0.0 with: disable-releaser: true disable-autolabeler: false diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e3955e4..c3350af 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,12 +16,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout branch - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Set up pixi - uses: prefix-dev/setup-pixi@ba3bb36eb2066252b2363392b7739741bb777659 + uses: prefix-dev/setup-pixi@ba3bb36eb2066252b2363392b7739741bb777659 # v0.8.1 with: environments: default lint - - uses: Swatinem/rust-cache@82a92a6e8fbeee089604da2575dc567ae9ddeaab + - uses: Swatinem/rust-cache@82a92a6e8fbeee089604da2575dc567ae9ddeaab # v2.7.5 with: key: pre-commit - name: pre-commit @@ -41,15 +41,15 @@ jobs: - macos-13 steps: - name: Checkout branch - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: ref: ${{ github.head_ref }} fetch-depth: 0 - name: Set up pixi - uses: prefix-dev/setup-pixi@ba3bb36eb2066252b2363392b7739741bb777659 + uses: prefix-dev/setup-pixi@ba3bb36eb2066252b2363392b7739741bb777659 # v0.8.1 with: activate-environment: true - - uses: Swatinem/rust-cache@82a92a6e8fbeee089604da2575dc567ae9ddeaab + - uses: Swatinem/rust-cache@82a92a6e8fbeee089604da2575dc567ae9ddeaab # v2.7.5 with: key: tests - name: Run test