diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 40f29d093..1542276cc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,10 +8,8 @@ jobs: run: | git config --global core.autocrlf false git config --global core.eol lf - - name: checkout uses: actions/checkout@v3 - - name: Install Rust uses: actions-rs/toolchain@v1 with: @@ -19,7 +17,6 @@ jobs: target: aarch64-apple-darwin override: true components: rustfmt, clippy - - name: Set up cargo cache uses: actions/cache@v3 continue-on-error: false @@ -32,15 +29,12 @@ jobs: target/ key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} restore-keys: ${{ runner.os }}-cargo- - - name: Lint run: | cargo fmt --all -- --check cargo clippy -- -D warnings - - name: make run: make - - name: selftest run: make selftest @@ -51,10 +45,8 @@ jobs: run: | git config --global core.autocrlf false git config --global core.eol lf - - name: checkout uses: actions/checkout@v3 - - name: Install Rust uses: actions-rs/toolchain@v1 with: @@ -62,7 +54,6 @@ jobs: target: aarch64-apple-darwin override: true components: rustfmt, clippy - - name: Set up cargo cache uses: actions/cache@v3 continue-on-error: false @@ -75,15 +66,12 @@ jobs: target/ key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} restore-keys: ${{ runner.os }}-cargo- - - name: Lint run: | cargo fmt --all -- --check cargo clippy -- -D warnings - - name: make run: make - - name: selftest run: make selftest @@ -94,10 +82,8 @@ jobs: run: | git config --global core.autocrlf false git config --global core.eol lf - - name: checkout uses: actions/checkout@v3 - - name: Install Rust uses: actions-rs/toolchain@v1 with: @@ -105,7 +91,6 @@ jobs: target: aarch64-apple-darwin override: true components: rustfmt, clippy - - name: Set up cargo cache uses: actions/cache@v3 continue-on-error: false @@ -118,15 +103,12 @@ jobs: target/ key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} restore-keys: ${{ runner.os }}-cargo- - - name: Lint run: | cargo fmt --all -- --check cargo clippy -- -D warnings - - name: setup msbuild uses: microsoft/setup-msbuild@v1.1.3 - - name: msbuild run: | msbuild windows\ZeroTierOne.sln /m /p:Configuration=Release /property:Platform=x64 /t:ZeroTierOne:Rebuild