Merge pull request 'Clean: completely remove .gitea and .github directories' (#2) from cleanup/remove-old-workflows into main
This commit is contained in:
@@ -1,26 +0,0 @@
|
||||
name: ci
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
markdown:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: alpine:latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
run: |
|
||||
apk add --no-cache git
|
||||
git init
|
||||
git remote add origin https://forgejo.riotpiao.com/rock/poimen-memory.git
|
||||
git fetch origin ${{ github.ref_name }} --depth=1
|
||||
git checkout FETCH_HEAD
|
||||
|
||||
- name: Check markdown files exist
|
||||
run: |
|
||||
test -f DESIGN.md
|
||||
test -f README.md
|
||||
echo "✓ Documentation structure valid"
|
||||
@@ -1,28 +0,0 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main, develop ]
|
||||
pull_request:
|
||||
branches: [ main, develop ]
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build and Lint
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
|
||||
- name: Build workspace
|
||||
run: cargo build --workspace
|
||||
|
||||
- name: Run clippy
|
||||
run: cargo clippy --workspace -- -D warnings
|
||||
|
||||
- name: Run tests
|
||||
run: cargo test --test it_workspace
|
||||
Reference in New Issue
Block a user