Skip to content

Commit

Permalink
Use ubuntu-24.04 instead of ubuntu-latest
Browse files Browse the repository at this point in the history
This should silence the warnings in GitHub and ensure we don't run into
unexpected upgrades again in the future.
  • Loading branch information
yorickpeterse committed Dec 23, 2024
1 parent 87e6689 commit 91c564d
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
contents: read
packages: write
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

nightly-container:
name: Nightly container
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
contents: read
packages: write
Expand All @@ -53,7 +53,7 @@ jobs:

docs:
name: Documentation
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
container:
image: ghcr.io/inko-lang/inko:latest
env:
Expand All @@ -77,7 +77,7 @@ jobs:

std-docs:
name: Standard library documentation
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
container:
image: ghcr.io/inko-lang/ci:fedora
env:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

source:
name: Source archive
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
container:
image: ghcr.io/inko-lang/ci:fedora
needs:
Expand All @@ -45,7 +45,7 @@ jobs:

docs:
name: Documentation
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
container:
image: ghcr.io/inko-lang/inko:latest
needs:
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
std-docs:
name: Standard library documentation
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
container:
image: ghcr.io/inko-lang/ci:fedora
env:
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
container:
name: Container
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs:
- docs
- runtimes
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/runtimes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:

jobs:
amd64-linux:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
container:
image: ghcr.io/inko-lang/ci:debian-amd64
steps:
Expand All @@ -26,7 +26,7 @@ jobs:
compression-level: 0

arm64-linux:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
container:
image: ghcr.io/inko-lang/ci:debian-arm64
steps:
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
compression-level: 0

amd64-freebsd:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Build runtimes
Expand All @@ -96,7 +96,7 @@ jobs:

upload:
name: Upload runtimes
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
container:
image: ghcr.io/inko-lang/ci:fedora
env:
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:

jobs:
vale:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: errata-ai/vale-action@reviewdog
Expand All @@ -21,13 +21,13 @@ jobs:
vale_flags: '--no-wrap --sort'

cargo-deny:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: EmbarkStudios/cargo-deny-action@v1

cargo-clippy:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
container:
image: ghcr.io/inko-lang/ci:fedora
steps:
Expand All @@ -40,7 +40,7 @@ jobs:
run: 'cargo clippy -- -D warnings'

cargo-fmt:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
container:
image: ghcr.io/inko-lang/ci:fedora
steps:
Expand All @@ -49,7 +49,7 @@ jobs:
run: 'cargo fmt --all --check'

inko-fmt:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
container:
image: ghcr.io/inko-lang/ci:fedora
steps:
Expand All @@ -65,7 +65,7 @@ jobs:

amd64-linux-gnu:
timeout-minutes: 15
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
container:
image: ghcr.io/inko-lang/ci:fedora
steps:
Expand All @@ -86,7 +86,7 @@ jobs:

amd64-linux-musl:
timeout-minutes: 15
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
container:
image: ghcr.io/inko-lang/ci:alpine
steps:
Expand Down Expand Up @@ -142,7 +142,7 @@ jobs:

amd64-freebsd-native:
timeout-minutes: 15
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
env:
RUSTUP_HOME: ${{ github.workspace }}/.rustup-home
steps:
Expand Down

0 comments on commit 91c564d

Please sign in to comment.