Skip to content

Commit

Permalink
🔧 moving to ubuntu-24.04 runners
Browse files Browse the repository at this point in the history
  • Loading branch information
chrede88 committed Nov 7, 2024
1 parent 05bf689 commit c955791
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 16 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/buildDeploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ on:
release:
types: [published]

# Change the above to this if you want to build and deploy on every push, but
# be mindful of overuse. Free accounts have a limited amount of
# compute time per month.
# on:
# push:
# branches:
# - main
# Change the above to this if you want to build and deploy on every push, but
# be mindful of overuse. Free accounts have a limited amount of
# compute time per month.
# on:
# push:
# branches:
# - main

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand All @@ -38,9 +38,9 @@ defaults:
jobs:
# Build job
build: # name of the job. We are conditioning the next job (deploy) on the succes of this one.
runs-on: ubuntu-latest # runner
runs-on: ubuntu-24.04 # runner
steps:
# Checkout the main branch so the action has access to the files
# Checkout the main branch so the action has access to the files
- name: Checkout
uses: actions/checkout@v4
with:
Expand All @@ -52,16 +52,16 @@ jobs:
uses: actions/setup-go@v5
with:
# renovate: datasource=github-tags depName=golang/go
go-version: '1.23.3'
go-version: "1.23.3"

# Setup Hugo. Remember to keep the version up to date with your local build environment
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
# renovate: datasource=github-releases depName=gohugoio/hugo
hugo-version: '0.138.0'
hugo-version: "0.138.0"
extended: true

# Build your site and dump the files in ./public
- name: Build
run: hugo --minify
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/cleanTemplate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,17 @@ concurrency:
cancel-in-progress: false

# ADDED THIS CHANGE
permissions:
permissions:
actions: write
checks: write
contents: write


jobs:
first-time-setup:
# ensure run only once, when repo generated
if: github.run_number == 1

runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
# get main branch repo contents
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/renovate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ env:
jobs:
renovate:
name: Renovate
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Generate Token
uses: actions/create-github-app-token@v1
Expand Down

0 comments on commit c955791

Please sign in to comment.