From f9ee76857f7bfeae342acb4b66dac3fae18dd1bb Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Tue, 14 Nov 2023 23:52:05 +0000 Subject: [PATCH] chore(workflow): upgrade actions and language runtimes --- .github/workflows/_build.yml | 4 ++-- .github/workflows/_prepare.yml | 11 +++-------- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/_build.yml b/.github/workflows/_build.yml index 7dffc10..2a6f5d4 100644 --- a/.github/workflows/_build.yml +++ b/.github/workflows/_build.yml @@ -133,14 +133,14 @@ jobs: if: ${{ needs.plan.outputs.check == 'fail' }} steps: - name: Checkout build-emacs-for-macos repo - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: repository: jimeh/build-emacs-for-macos ref: ${{ needs.prepare.outputs.builder_sha }} path: builder - uses: ruby/setup-ruby@v1 with: - ruby-version: 2.7 + ruby-version: "3.2" - name: Update homebrew run: brew update - name: Fix system python breaking homebrew diff --git a/.github/workflows/_prepare.yml b/.github/workflows/_prepare.yml index a9c9252..6fae654 100644 --- a/.github/workflows/_prepare.yml +++ b/.github/workflows/_prepare.yml @@ -22,7 +22,7 @@ jobs: runs-on: ${{ inputs.os }} steps: - name: Checkout build-emacs-for-macos repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: jimeh/build-emacs-for-macos ref: ${{ inputs.builder_ref }} @@ -37,14 +37,9 @@ jobs: name: emacs-builder-git-sha path: builder/emacs-builder-git-sha.txt if-no-files-found: error - - uses: actions/setup-go@v2 + - uses: actions/setup-go@v4 with: - go-version: 1.16 - - uses: actions/cache@v3 - with: - path: ~/go/pkg/mod - key: ${{ runner.os }}-go-${{ hashFiles('builder/**/go.sum') }} - restore-keys: ${{ runner.os }}-go- + go-version: 1.21 - name: Build emacs-builder tool run: make build working-directory: builder