Skip to content
Snippets Groups Projects
Verified Commit 6b552927 authored by João Magalhães's avatar João Magalhães :rocket:
Browse files

feat: initial rust build on github actions

parent 08ec80e9
No related branches found
No related tags found
No related merge requests found
Pipeline #1840 canceled
name: Main Workflow
on:
push:
schedule:
- cron: "0 0 * * 0"
jobs:
build:
name: Build
timeout-minutes: 10
strategy:
matrix:
rust-version: ["1.56.1", "1.60.0", "1.65.0", "latest"]
runs-on: ubuntu-latest
container: rust:${{ matrix.rust-version }}
steps:
- uses: actions/checkout@v1
- run: rustc --version
- run: cargo fmt --check
- run: cargo clippy
- run: cargo build
- run: cargo build --release
......@@ -4,7 +4,12 @@ module.exports = {
parser: "@typescript-eslint/parser",
plugins: ["@typescript-eslint"],
rules: {
"no-constant-condition": ["error", { checkLoops: false }],
"no-constant-condition": [
"error",
{
checkLoops: false
}
],
"no-empty-function": "off",
semi: ["error", "always"]
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment