Skip to content

Commit

Permalink
First release of mini-http (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolaeIotu authored Dec 15, 2024
1 parent 21d86e5 commit 213033f
Show file tree
Hide file tree
Showing 19 changed files with 3,940 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:

env:
CARGO_TERM_COLOR: always

permissions:
contents: read

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Check format
run: cargo fmt --check

- name: Clippy
run: cargo clippy --no-deps

- name: Verify
run: cargo verify-project

- name: Test
run: ./tasks/test

- name: Build
run: cargo build
18 changes: 18 additions & 0 deletions .github/workflows/Publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Publish Package

on:
release:
types: [published]

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4

- run: cargo publish
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/**

!/.github
!/.github/**
!/generated
!/src
!/src/**
!/tasks
!/tasks/**
!/.gitignore
!/Cargo.lock
!/Cargo.toml
!/LICENSE
!/README.md
Loading

0 comments on commit 213033f

Please sign in to comment.