github_actions_test/.github/workflows/test.yml
semubico 0f88f5a537
Some checks failed
Compile Rust Code on Release / lint&test (push) Failing after 2m19s
Update .github/workflows/test.yml
2025-07-11 17:32:18 +02:00

24 lines
595 B
YAML

name: Compile Rust Code on Release
on: [push]
jobs:
lint&test:
runs-on: ubuntu-latest
container:
image: node:alpine
steps:
- uses: actions/checkout@v4
- run: apk add curl gcc rustup cargo rust
- run: cargo check
- run: cargo test
- run: cargo build --release
- name: Package Artifacts
run: |
mkdir -p artifacts
cp target/release/wololo artifacts/
- name: Upload Artifacts
uses: actions/upload-artifact@v2
with:
name: rust-release-artifacts
path: artifacts/