diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fe14145..c1a35db 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,35 +1,35 @@ -name: Tests - -on: - pull_request: - push: - workflow_dispatch: - -jobs: - test_shell: - name: Test shell ${{ matrix.shell }} - runs-on: windows-latest - strategy: - matrix: - shell: - - powershell - - pwsh - defaults: - run: - shell: ${{ matrix.shell }} - steps: - - name: Checkout Bucket - uses: actions/checkout@v4.2.2 - with: - fetch-depth: 2 - path: 'self_bucket' - - name: Checkout Scoop - uses: actions/checkout@v4.2.2 - with: - repository: ScoopInstaller/Scoop - path: 'scoop_core' - - name: Init and Test on ${{ matrix.shell }} - run: | - $env:SCOOP_HOME="$(Convert-Path '.\scoop_core')" - .\scoop_core\test\bin\init.ps1 - .\self_bucket\bin\test.ps1 +name: Tests + +on: + pull_request: + push: + workflow_dispatch: + +jobs: + test_shell: + name: Test shell ${{ matrix.shell }} + runs-on: windows-latest + strategy: + matrix: + shell: + - powershell + - pwsh + defaults: + run: + shell: ${{ matrix.shell }} + steps: + - name: Checkout Bucket + uses: actions/checkout@v5.0.0 + with: + fetch-depth: 2 + path: 'self_bucket' + - name: Checkout Scoop + uses: actions/checkout@v5.0.0 + with: + repository: ScoopInstaller/Scoop + path: 'scoop_core' + - name: Init and Test on ${{ matrix.shell }} + run: | + $env:SCOOP_HOME="$(Convert-Path '.\scoop_core')" + .\scoop_core\test\bin\init.ps1 + .\self_bucket\bin\test.ps1 diff --git a/.github/workflows/excavator.yml b/.github/workflows/excavator.yml index 36fc4be..0729b3f 100644 --- a/.github/workflows/excavator.yml +++ b/.github/workflows/excavator.yml @@ -1,20 +1,20 @@ -name: Excavator - -on: - workflow_dispatch: - schedule: - - cron: '0 6 * * *' - -jobs: - excavate: - name: Excavate - runs-on: windows-latest - permissions: - contents: write - steps: - - uses: actions/checkout@v4.2.2 - - name: Excavate - uses: ScoopInstaller/GithubActions@main - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SKIP_UPDATED: '1' +name: Excavator + +on: + workflow_dispatch: + schedule: + - cron: '0 6 * * *' + +jobs: + excavate: + name: Excavate + runs-on: windows-latest + permissions: + contents: write + steps: + - uses: actions/checkout@v5.0.0 + - name: Excavate + uses: ScoopInstaller/GithubActions@main + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + SKIP_UPDATED: '1'