Skip to content

Commit

Permalink
use ubuntu-24.04 instead of latest
Browse files Browse the repository at this point in the history
Signed-off-by: Suraj Ghimire <suraj@ghishadow.com>
  • Loading branch information
ghishadow committed Jun 20, 2024
1 parent 03be54d commit b62bd71
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
- cron: '0 0 * * *'
jobs:
security_audit:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ env:

jobs:
linux:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- name: checkout repository
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:

publish:
needs: [linux]
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
env:
GH_REPO: ${{ github.repository }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ name: Test coverage
jobs:
coverage:
name: Collect test coverage
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
# nightly rust might break from time to time
continue-on-error: true
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/devskim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
jobs:
lint:
name: DevSkim
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
actions: read
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/diagram.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- create_diagram
jobs:
get_data:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
os: [ ubuntu-24.04, windows-latest, macos-latest ]
toolchain: [ stable ]

runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
fmt:
name: Rustfmt
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
Expand All @@ -70,7 +70,7 @@ jobs:
cargo fmt --all -- --check
clippy:
name: Clippy
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
push_tag:
if: github.repository == 'ghishadow/buklo'
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
- os: ubuntu-24.04
target: x86_64-unknown-linux-gnu

- os: windows-latest
Expand All @@ -42,16 +42,16 @@ jobs:
with:
toolchain: stable
target: ${{ matrix.target }}

- name: Init cache
uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84

- name: Setup Mold
uses: rui314/setup-mold@v1
with:
mold-version: 2.32.0
make-default: false

- name: Build binary
uses: dtolnay/rust-toolchain@v1
with:
Expand Down

0 comments on commit b62bd71

Please sign in to comment.