diff --git a/.github/actions/configure-environment/action.yml b/.github/actions/configure-environment/action.yml index 75a783e6..c870cf3f 100644 --- a/.github/actions/configure-environment/action.yml +++ b/.github/actions/configure-environment/action.yml @@ -21,7 +21,7 @@ runs: echo "pixi_version=${pixi_version}" >> "${GITHUB_OUTPUT}" - name: Setup pixi - uses: prefix-dev/setup-pixi@v0.8.14 + uses: prefix-dev/setup-pixi@8ca4608ef7f4daeb54f5205b20d0b7cb42f11143 # v0.8.14 with: pixi-version: v${{ steps.versions.outputs.pixi_version }} # Only the "default" environment is needed in CI; the "dev" environment @@ -31,13 +31,13 @@ runs: cache: true - name: Setup Go - uses: actions/setup-go@v6 + uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0 with: go-version-file: tooling/go.mod cache-dependency-path: tooling/go.sum - name: Setup Matlab - uses: matlab-actions/setup-matlab@v2 + uses: matlab-actions/setup-matlab@aa8bbc7b76daa63c5d456d1430cbd6cb5b626ab4 # v2.7.0 with: release: R2022b cache: true diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 28feb360..104ec286 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -8,3 +8,5 @@ updates: directory: / schedule: interval: weekly + cooldown: + default-days: 7 \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ef2aeba0..cb265fe4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v7 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Configure environment uses: ./.github/actions/configure-environment @@ -32,19 +32,19 @@ jobs: name: Build yardl binaries runs-on: ubuntu-latest steps: - - uses: actions/checkout@v7 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Configure environment uses: ./.github/actions/configure-environment - name: Build yardl binaries for multiple platforms - uses: goreleaser/goreleaser-action@v7 + uses: goreleaser/goreleaser-action@f06c13b6b1a9625abc9e6e439d9c05a8f2190e94 # v7.2.3 with: version: v2.8.1 args: release --clean --snapshot - name: Upload yardl binaries - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: dist path: dist @@ -54,10 +54,10 @@ jobs: runs-on: windows-latest needs: buildBinaries steps: - - uses: actions/checkout@v7 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Download yardl binaries - uses: actions/download-artifact@v8 + uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: name: dist @@ -75,10 +75,10 @@ jobs: runs-on: macos-latest needs: buildBinaries steps: - - uses: actions/checkout@v7 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Download yardl binaries - uses: actions/download-artifact@v8 + uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: name: dist @@ -106,13 +106,13 @@ jobs: language: [ 'cpp', 'go', 'python' ] steps: - - uses: actions/checkout@v7 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Configure environment uses: ./.github/actions/configure-environment - name: Initialize CodeQL - uses: github/codeql-action/init@v4 + uses: github/codeql-action/init@db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28 # v4.37.8 with: languages: ${{ matrix.language }} @@ -121,7 +121,7 @@ jobs: just build-all - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v4 + uses: github/codeql-action/analyze@db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28 # v4.37.8 with: category: "/language:${{matrix.language}}" @@ -129,9 +129,9 @@ jobs: name: Check NOTICE.txt runs-on: ubuntu-latest steps: - - uses: actions/checkout@v7 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - - uses: actions/setup-go@v7 + - uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 with: go-version-file: tooling/go.mod cache-dependency-path: tooling/go.sum @@ -179,22 +179,22 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v7 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Build static page run: | cd docs npm install npm run docs:build - name: Setup Pages - uses: actions/configure-pages@v6 + uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6.0.0 - name: Upload artifact - uses: actions/upload-pages-artifact@v5 + uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0 with: # Upload entire repository path: 'docs/.vitepress/dist' - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v5 + uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0 release: if: github.event_name == 'push' && github.ref_type == 'tag' @@ -209,7 +209,7 @@ jobs: contents: write steps: - - uses: actions/checkout@v7 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 @@ -223,7 +223,7 @@ jobs: dirname $(which go) >> $GITHUB_PATH - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v7 + uses: goreleaser/goreleaser-action@f06c13b6b1a9625abc9e6e439d9c05a8f2190e94 # v7.2.3 with: version: v2.8.1 args: release --clean