Skip to content

Commit

Permalink
chore: s/ubuntu-latest/ubuntu-22.04/ (#119)
Browse files Browse the repository at this point in the history
* chore: s/ubuntu-latest/ubuntu-22.04/

* chore: upgrade codecov

* chore: upgrade codecov
  • Loading branch information
9renpoto authored Dec 31, 2024
1 parent 0d4d55c commit cf69a44
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 18 deletions.
4 changes: 2 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ updates:
labels:
- "Type: Maintenance"
schedule:
interval: daily
interval: weekly
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: daily
interval: weekly
labels:
- "Type: Maintenance"
2 changes: 1 addition & 1 deletion .github/workflows/actionlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ concurrency:

jobs:
actionlint:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: reviewdog/action-actionlint@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cspell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:

jobs:
spellcheck:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: streetsidesoftware/cspell-action@v6
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/export-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ permissions:

jobs:
export_labels:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
timeout-minutes: 5
steps:
- uses: EndBug/export-label-config@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}

create_pull_request:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
timeout-minutes: 5
needs:
- export_labels
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:
jobs:
test:
needs: check
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install Rust
Expand All @@ -20,14 +20,15 @@ jobs:
- run: cargo test --workspace --all-features --all-targets
- name: Generate code coverage
run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
files: lcov.info
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}

check:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install Rust
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
stale:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- uses: actions/stale@v9
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sync-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ permissions:

jobs:
label_sync:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
timeout-minutes: 2
steps:
- uses: actions/checkout@v4
Expand Down
15 changes: 10 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
repos:
- repo: https://github.com/DevinR528/cargo-sort
rev: v1.0.7
- repo: https://github.com/streetsidesoftware/cspell-cli
rev: v8.17.0
hooks:
- id: cargo-sort
- repo: local
- id: cspell

- repo: https://github.com/DevinR528/cargo-sort
rev: v1.1.0
hooks:
- id: cargo-sort

- repo: local
hooks:
- id: fmt
name: fmt
Expand All @@ -25,4 +31,3 @@ repos:
types: [file, rust]
entry: cargo test --lib
pass_filenames: false

0 comments on commit cf69a44

Please sign in to comment.