diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml index 89c9396d..d0ce101d 100644 --- a/.github/workflows/auto-merge.yml +++ b/.github/workflows/auto-merge.yml @@ -13,7 +13,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Fetch Pull Request Details id: pull_request diff --git a/.github/workflows/synchronize-labels.yml b/.github/workflows/synchronize-labels.yml index df45d3c5..bb7f38eb 100644 --- a/.github/workflows/synchronize-labels.yml +++ b/.github/workflows/synchronize-labels.yml @@ -13,7 +13,7 @@ jobs: runs-on: - ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: micnncim/action-label-syncer@v1 env: GITHUB_TOKEN: ${{ github.token }} diff --git a/.github/workflows/test-pull-request.yml b/.github/workflows/test-pull-request.yml index cd8a73ee..5a07e6e4 100644 --- a/.github/workflows/test-pull-request.yml +++ b/.github/workflows/test-pull-request.yml @@ -12,14 +12,14 @@ jobs: steps: - name: Setup Go - uses: actions/setup-go@v1 + uses: actions/setup-go@v5 with: - go-version: 1.19.x + go-version: stable - name: Checkout - uses: actions/checkout@v2 - - - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* || true + uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Run Unit Tests run: ./scripts/unit.sh @@ -32,7 +32,7 @@ jobs: needs: unit steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set Matrix id: set-matrix @@ -51,14 +51,14 @@ jobs: steps: - name: Setup Go - uses: actions/setup-go@v1 + uses: actions/setup-go@v5 with: - go-version: 1.19.x + go-version: stable - name: Checkout - uses: actions/checkout@v2 - - - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* || true + uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Run Integration Tests env: diff --git a/.github/workflows/update-github-config.yml b/.github/workflows/update-github-config.yml index 1b27dd68..f7b2505b 100644 --- a/.github/workflows/update-github-config.yml +++ b/.github/workflows/update-github-config.yml @@ -2,7 +2,7 @@ name: Update shared github-config on: schedule: - - cron: '*/15 * * * *' + - cron: '10 9 * * *' workflow_dispatch: { } jobs: @@ -12,13 +12,13 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: token: ${{ secrets.CF_BOT_GITHUB_TOKEN }} ref: develop - name: Checkout github-config - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: repository: cloudfoundry/buildpacks-github-config path: github-config diff --git a/scripts/install_go.sh b/scripts/install_go.sh index e91be193..a09027c3 100755 --- a/scripts/install_go.sh +++ b/scripts/install_go.sh @@ -12,8 +12,8 @@ function main() { fi local version expected_sha dir - version="1.19" - expected_sha="7e231ea5c68f4be7fea916d27814cc34b95e78c4664c3eb2411e8370f87558bd" + version="1.22.5" + expected_sha="ddb12ede43eef214c7d4376761bd5ba6297d5fa7a06d5635ea3e7a276b3db730" dir="/tmp/go${version}" mkdir -p "${dir}"