Skip to content

Commit

Permalink
chore: bump rust to 1.79
Browse files Browse the repository at this point in the history
Signed-off-by: Gustavo Inacio <[email protected]>
  • Loading branch information
gusinacio committed Aug 2, 2024
1 parent 3da910c commit 5b461b8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,27 @@ name: tests

on:
push:
branches: [ main ]
branches: [main]
pull_request:
workflow_dispatch:

jobs:
fmt:
name: cargo fmt
runs-on: ubuntu-latest
container:
image: rust:1.74-bookworm
container:
image: rust:1.79-bookworm
steps:
- uses: actions/checkout@v3
- run: |
rustup component add rustfmt
cargo fmt --all -- --check
clippy:
name: cargo clippy
runs-on: ubuntu-latest
container:
image: rust:1.74-bookworm
container:
image: rust:1.79-bookworm
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
Expand All @@ -36,9 +36,9 @@ jobs:
target/
key: ${{ runner.os }}-cargo-clippy
- run: |
rustup component add clippy
cargo clippy --all-targets --all-features -- -D warnings
rustup component add clippy
cargo clippy --all-targets --all-features -- -D warnings
test-and-coverage:
name: cargo test and coverage
runs-on: ubuntu-latest
Expand All @@ -47,7 +47,7 @@ jobs:
pull-requests: write
actions: read
container:
image: rust:1.74-bookworm
image: rust:1.79-bookworm
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
Expand All @@ -62,7 +62,7 @@ jobs:
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Run tests and generate coverage report
run: cargo llvm-cov test --all-features --workspace --lcov --output-path lcov.info
run: cargo llvm-cov test --all-features --workspace --lcov --output-path lcov.info
- name: Upload coverage to Coveralls
uses: coverallsapp/[email protected]
with:
Expand All @@ -72,7 +72,7 @@ jobs:
name: cargo test docs
runs-on: ubuntu-latest
container:
image: rust:1.74-bookworm
image: rust:1.79-bookworm
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.tap_aggregator
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.74-bookworm as build
FROM rust:1.79-bookworm as build

WORKDIR /root
COPY . .
Expand Down

0 comments on commit 5b461b8

Please sign in to comment.