Merge pull request #107 from Rust-for-Linux/dev/fix-clippy #313
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| branches: [kernel, next] | |
| schedule: | |
| - cron: '7 7 * * *' | |
| workflow_dispatch: | |
| name: sync-check | |
| jobs: | |
| torvalds: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| ref: kernel | |
| path: pin-init | |
| - run: git clone --depth 1 git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git | |
| - run: | | |
| cp -r linux/rust/pin-init . | |
| cd pin-init | |
| if ! git diff --quiet ; then | |
| git diff | |
| false | |
| fi | |
| if [ -n "$(git ls-files --others --exclude-standard)" ]; then | |
| git status | |
| false | |
| fi | |
| pin-init-next: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| ref: next | |
| path: pin-init | |
| - uses: actions/checkout@v4 | |
| with: | |
| repository: "Rust-for-Linux/linux" | |
| ref: pin-init-next | |
| path: linux | |
| - run: | | |
| cp -r linux/rust/pin-init . | |
| cd pin-init | |
| if ! git diff --quiet ; then | |
| git diff | |
| false | |
| fi | |
| if [ -n "$(git ls-files --others --exclude-standard)" ]; then | |
| git status | |
| false | |
| fi |