Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardocustodio committed Feb 4, 2025
1 parent 1fc5648 commit ef298b9
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 17 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/check-version.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Check Version

name: Check Package Version
on:
push:
pull_request:

concurrency:
group: check-version-${{ github.event.pull_request.number || github.ref }}
Expand All @@ -13,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: check
- name: Check
run: |
# Fetch the version from Cargo.toml
version=$(grep -m 1 '^version' Cargo.toml | sed 's/version = "\(.*\)"/\1/')
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/clippy.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
on: push
name: Clippy Check
name: Clippy and Format
on:
push:

jobs:
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: clippy
components: clippy, rustfmt
- uses: auguwu/[email protected]
with:
token: ${{secrets.GITHUB_TOKEN}}
2 changes: 1 addition & 1 deletion .github/workflows/security-audit.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Security audit
name: Security Audit
on:
push:
paths:
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/test-docker.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
name: Test builds docker

name: Test Docker Build
on:
pull_request:
push:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Build docker image
- name: Build
run: |
docker build .
13 changes: 10 additions & 3 deletions .github/workflows/test-release.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
name: Test Builds Binaries
name: Test Binary Build
on:
pull_request:
push:

jobs:
build:
name: Test it builds binaries
name: Build
runs-on: macos-latest
steps:
- name: Set up Homebrew
- id: set-up-homebrew
- uses: Homebrew/actions/setup-homebrew@master

- name: Install dependencies
run: brew install messense/macos-cross-toolchains/x86_64-unknown-linux-gnu mingw-w64

- uses: actions/checkout@v4
- name: Build
- uses: actions-rust-lang/setup-rust-toolchain@v1
- run: cargo build --release

0 comments on commit ef298b9

Please sign in to comment.