diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1b4c414e1..01fccf85c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,7 +11,7 @@ on: jobs: track-config: name: Check track configuration - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 with: @@ -25,9 +25,10 @@ jobs: - name: Install yq (for stack resolvers) run: | - sudo add-apt-repository -y ppa:rmescandon/yq - sudo apt-get -q update - sudo apt-get -y install yq + sudo apt-get update + sudo apt-get -y install wget + wget https://github.com/mikefarah/yq/releases/download/v4.46.1/yq_linux_amd64 -O /usr/local/bin/yq + chmod +x /usr/local/bin/yq - name: Ensure stack resolvers are synced run: bin/ensure-stack-resolvers-are-synced.sh @@ -47,7 +48,7 @@ jobs: exercises: name: Check exercises - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 strategy: matrix: resolver: @@ -69,9 +70,10 @@ jobs: - name: Install yq (for stack resolvers) run: | - sudo add-apt-repository -y ppa:rmescandon/yq - sudo apt-get -q update - sudo apt-get -y install yq + sudo apt-get update + sudo apt-get -y install wget + wget https://github.com/mikefarah/yq/releases/download/v4.46.1/yq_linux_amd64 -O /usr/local/bin/yq + chmod +x /usr/local/bin/yq - name: Resolve resolver id: resolve-resolver @@ -95,7 +97,7 @@ jobs: # most of the time caches should hit. echo "::set-output name=week-no::$(date -u +%Y-%U)" - - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 + - uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 id: cache with: path: |