-
Notifications
You must be signed in to change notification settings - Fork 1
Feat/ci added #39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Feat/ci added #39
Conversation
jazzz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This contribution is much appreciated. Appreciate you helping out!
.github/workflows/ci.yml
Outdated
|
|
||
| on: | ||
| push: | ||
| branches: [ main, master, develop ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you remove master and develop branch here? We don't have such branches for working.
Also for the pull_request section.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolve
| strategy: | ||
| matrix: | ||
| toolchain: | ||
| - stable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We probably only want to focus on the stable release, right? @jazzz
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolve
Restrict CI workflow to only the main branch for pushes and pull requests.
osmaczko
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thx
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - run: rustup update stable && rustup default stable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - run: rustup update stable && rustup default stable | |
| - run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }} |
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - run: rustup update stable && rustup default stable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - run: rustup update stable && rustup default stable | |
| - run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }} |
fixes issue #38 by providing basic ci with 3 basic jobs, mainly test, clippy and format jobs.