13 Commits
Author SHA1 Message Date
KD 6743a808b9 Merge branch 'version_bump' into 'main'
Version bump

See merge request kdeng00/clean_file!4
2025-03-09 18:56:00 +00:00
KD b2116332ed Version bump 2025-03-09 18:56:00 +00:00
KD ad3c350707 Merge branch 'ver_up' into 'main'
Updating rust edition

See merge request kdeng00/clean_file!3
2025-03-09 03:10:00 +00:00
phoenix f4937514dd Updating rust edition 2025-03-08 22:08:20 -05:00
KD 04f0c03db7 Merge branch 'ci' into 'main'
Added workflow file

See merge request kdeng00/clean_file!1
2025-03-09 03:06:12 +00:00
phoenix c810a85da0 Added workflow file 2025-03-08 22:02:33 -05:00
phoenixandphoenix 936f07ad01 Updated serde and serde_json (#1)
Reviewed-on: #1
Co-authored-by: phoenix <kundeng94@gmail.com>
Co-committed-by: phoenix <kundeng94@gmail.com>
2025-02-10 02:23:36 +00:00
phoenix 156ab957fd Update .github/workflows/rust.yaml 2025-02-03 00:32:53 +00:00
phoenix ef6eba61a7 Update .github/workflows/rust.yaml 2025-02-03 00:32:31 +00:00
phoenix 59a5e1f678 Update .github/workflows/rust.yaml 2025-02-03 00:31:44 +00:00
phoenix e240276db7 Update .github/workflows/rust.yaml 2025-02-03 00:31:23 +00:00
phoenix c4f27e924d Update .github/workflows/rust.yaml 2025-02-03 00:29:11 +00:00
phoenix 42fc92925d Add .github/workflows/rust.yaml 2025-02-03 00:27:12 +00:00
3 changed files with 71 additions and 4 deletions
+37
View File
@@ -0,0 +1,37 @@
name: Rust
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
env:
# Customize the profile here (e.g., release, debug)
PROFILE: release
jobs:
build:
runs-on: ubuntu-latest # Only target ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Build
uses: actions-rs/cargo@v1
with:
command: build
args: --release # Or --debug, depending on the env.PROFILE
- name: Run tests
uses: actions-rs/cargo@v1
with:
command: test
args: --release # Or --debug, depending on the env.PROFILE
+29
View File
@@ -0,0 +1,29 @@
stages:
- build
- test
build:
stage: build
image: rust:1.85
script:
- cargo build --release
artifacts:
paths:
- target/release/clean_file
expire_in: 1 week
cache:
key: "cargo-cache"
paths:
- target/
- ~/.cargo/
test:
stage: test
image: rust:1.85
script:
- cargo test
cache:
key: "cargo-cache"
paths:
- target/
- ~/.cargo/
+5 -4
View File
@@ -1,10 +1,11 @@
[package]
name = "clean_file"
version = "0.2.0"
edition = "2021"
description = "Software tool that sanitizes a list of phone numbers"
version = "0.3.0"
edition = "2024"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
serde = { version = "1.0.203", features = ["derive"] }
serde_json = "1.0.117"
serde = { version = "1.0.218", features = ["derive"] }
serde_json = "1.0.140"