diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml index 05c540d5..20451975 100644 --- a/.github/workflows/automerge.yml +++ b/.github/workflows/automerge.yml @@ -7,7 +7,7 @@ permissions: jobs: dependabot: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 if: ${{ github.actor == 'dependabot[bot]' }} steps: - name: Enable auto-merge for Dependabot PRs diff --git a/.github/workflows/conventional-prs.yml b/.github/workflows/conventional-prs.yml index b6a5bca4..78f6611f 100644 --- a/.github/workflows/conventional-prs.yml +++ b/.github/workflows/conventional-prs.yml @@ -9,7 +9,7 @@ on: jobs: title-format: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: amannn/action-semantic-pull-request@v5.5.3 env: diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 9b173cef..001f0e0e 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -18,7 +18,7 @@ env: jobs: build-and-push-image: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: contents: read packages: write diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 939d2192..f2a1ec22 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -17,7 +17,7 @@ env: jobs: release-please: if: github.repository_owner == 'varfish-org' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 outputs: release_created: ${{ steps.release.outputs.release_created }} release_name: ${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }} @@ -31,7 +31,7 @@ jobs: cargo-release: needs: release-please - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 if: ${{ needs.release-please.outputs.release_created }} steps: - uses: actions/checkout@v4 @@ -40,7 +40,7 @@ jobs: - name: Install dependencies run: | sudo apt-get update -y - sudo apt-get install -y librocksdb-dev + sudo apt-get install -y librocksdb-dev libsnappy-dev libsqlite3-dev - name: Install stable toolchain uses: actions-rs/toolchain@v1 @@ -69,7 +69,7 @@ jobs: container-release: needs: release-please - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 if: ${{ needs.release-please.outputs.release_created }} steps: - name: Checkout repository diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index c90431f5..5b515cd2 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -10,7 +10,7 @@ on: jobs: Formatting: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Checkout repository uses: actions/checkout@v4 @@ -28,15 +28,20 @@ jobs: repo-token: ${{ secrets.GITHUB_TOKEN }} - name: Check format - run: | + run: cargo fmt -- --check Linting: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Checkout repository uses: actions/checkout@v4 + - name: Install dependencies + run: | + sudo apt-get update -y + sudo apt-get install -y librocksdb-dev libsnappy-dev libsqlite3-dev + - name: Install stable toolchain uses: actions-rs/toolchain@v1 with: @@ -56,7 +61,7 @@ jobs: Testing: needs: Formatting - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Checkout repository uses: actions/checkout@v4