Skip to content

Commit

Permalink
CI Setup
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelhetzel committed Sep 6, 2023
1 parent 4478107 commit b82f5e3
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/commit_checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Edgeless Commit Checks
on:
push:
jobs:
check:
runs-on:
- self-hosted
container:
image: ghcr.io/edgeless-project/ci-image:latest
credentials:
username: ${{ github.actor }}
password: ${{ secrets.github_token }}
steps:
- uses: actions/checkout@v3
- name: Linter
uses: actions-rs/cargo@v1
with:
command: fmt
args: --check
- name: Clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --no-deps
- name: Tests
uses: actions-rs/cargo@v1
with:
command: test
build:
runs-on:
- self-hosted
container:
image: ghcr.io/edgeless-project/ci-image:latest
credentials:
username: ${{ github.actor }}
password: ${{ secrets.github_token }}
steps:
- name: Build x64 Release
uses: actions-rs/cargo@v1
with:
command: build
args: --release

0 comments on commit b82f5e3

Please sign in to comment.