Added icarus-models (#30)

* Added icarus-models

* Updated workflow

* Added ci workflow for ssh keys

* More changes

* More changes. again

* More changes. again.agg

* Another one

* Using secrets

* Forgot dereference

* Added variables

* Checking regular variable

* Updating

* Repository secret

* Checking size

* Another one

* Another one

* Another one

* Another one

* Another one

* Cargo file fix

* Another one

* Reorder

* Addded another step

* Change

* Another step

* Remove step

* Remove step

* Move on up

* Remove

* Cleanup

* Cleanup
This commit was merged in pull request #30.
This commit is contained in:
KD
2025-03-12 20:58:29 -04:00
committed by GitHub
parent d22850b280
commit a372bfcc05
2 changed files with 19 additions and 2 deletions
+18 -2
View File
@@ -16,7 +16,23 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install Rust version
run: rustup install 1.85.0 && rustup default 1.85.0
- name: Debug secret
run: echo "${{ secrets.GITLAB_TOKEN }}" | head -c 10 ; echo "..."
- name: Build
run: cargo build --verbose
run: |
mkdir -p ~/.ssh
echo "$EXTREPO_KEY" > ~/.ssh/gitlab_deploy_key
chmod 600 ~/.ssh/gitlab_deploy_key
ssh-keyscan gitlab.com >> ~/.ssh/known_hosts
eval $(ssh-agent -s)
ssh-add -v ~/.ssh/gitlab_deploy_key
cargo build --release
env:
EXTREPO_KEY: ${{ secrets.GITLAB_TOKEN }}
- name: Run tests
run: cargo test --verbose
run: cargo test --verbose
+1
View File
@@ -16,3 +16,4 @@ serde = { version = "1.0.219", features = ["derive"] }
serde_json = "1.0.140"
tokio = { version = "1.44.0", features = ["full"] }
tokio-util = { version = "0.7.13", features = ["codec"] }
icarus-models = { git = "ssh://git@gitlab.com/kdeng00/icarus-models.git", tag = "v0.1.1" }