Skip to content

Commit

Permalink
gh: import and adapt rust workflow
Browse files Browse the repository at this point in the history
Two modifications have been done:

- Restrict the build on push to the main branch only, similar to what
  was done in commit 4da53c3 ("github: restrict builds on push to the
  main branch")

- Change the working directory to ./virtme_ng_init, because the root
  directory is now different.

Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>
  • Loading branch information
matttbe authored and arighi committed Jan 8, 2025
1 parent bcfcc9d commit 360894c
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Rust

on:
push:
branches:
- main
pull_request:

env:
Expand All @@ -12,6 +14,10 @@ jobs:

runs-on: ubuntu-latest

defaults:
run:
working-directory: ./virtme_ng_init

steps:
- uses: actions/checkout@v3
- name: Coding style
Expand Down

0 comments on commit 360894c

Please sign in to comment.