Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .github/workflows/container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ jobs:
steps:
- id: setup
name: Setup Toolchain
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- id: build
name: Build
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
file: ./Containerfile
push: false
Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
steps:
- id: meta
name: Docker Meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: |
"${{ secrets.DOCKER_HUB_USERNAME }}/${{secrets.DOCKER_HUB_REPOSITORY_NAME }}"
Expand All @@ -134,17 +134,17 @@ jobs:

- id: login
name: Login to Docker Hub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}

- id: setup
name: Setup Toolchain
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Build and push
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
file: ./Containerfile
push: true
Expand All @@ -163,7 +163,7 @@ jobs:
steps:
- id: meta
name: Docker Meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: |
"${{ secrets.DOCKER_HUB_USERNAME }}/${{secrets.DOCKER_HUB_REPOSITORY_NAME }}"
Expand All @@ -175,17 +175,17 @@ jobs:

- id: login
name: Login to Docker Hub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}

- id: setup
name: Setup Toolchain
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Build and push
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
file: ./Containerfile
push: true
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
secrets:
name: Secrets
environment: dockerhub-torrust
environment: crates-io-torrust
runs-on: ubuntu-latest

outputs:
Expand Down Expand Up @@ -51,7 +51,6 @@ jobs:
name: Publish
environment: crates-io-torrust
needs: test
if: needs.secrets.outputs.continue == 'true'
runs-on: ubuntu-latest

steps:
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ jobs:
name: Run Unit Tests
run: cargo test --tests --benches --examples --workspace --all-targets --all-features

- id: coverage
name: Generate Coverage Report
run: cargo llvm-cov nextest --tests --benches --examples --workspace --all-targets --all-features
# Temporary Disable https://github.com/time-rs/time/issues/618
# - id: coverage
# name: Generate Coverage Report
# run: cargo llvm-cov nextest --tests --benches --examples --workspace --all-targets --all-features
3 changes: 2 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"recommendations": [
"streetsidesoftware.code-spell-checker",
"rust-lang.rust-analyzer"
"rust-lang.rust-analyzer",
"tamasfe.even-better-toml"
]
}
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,9 @@
"-W",
"clippy::pedantic",
],
"evenBetterToml.formatter.allowedBlankLines": 1,
"evenBetterToml.formatter.columnWidth": 130,
"evenBetterToml.formatter.trailingNewline": true,
"evenBetterToml.formatter.reorderKeys": true,
"evenBetterToml.formatter.reorderArrays": true,
}
Loading