]> git.proxmox.com Git - rustc.git/blobdiff - src/tools/rustfmt/.github/workflows/linux.yml
New upstream version 1.63.0+dfsg1
[rustc.git] / src / tools / rustfmt / .github / workflows / linux.yml
index 45f63b83c056217722dc91908ed2e89c52f4c559..bce9b0c8d5a95ed1659c4906be6647d20369babe 100644 (file)
@@ -26,7 +26,7 @@ jobs:
 
     steps:
     - name: checkout
-      uses: actions/checkout@v2
+      uses: actions/checkout@v3
 
       # Run build
     - name: install rustup
@@ -35,15 +35,5 @@ jobs:
         sh rustup-init.sh -y --default-toolchain none
         rustup target add ${{ matrix.target }}
 
-    - name: build
-      run: |
-        rustc -Vv
-        cargo -V
-        cargo build
-      env:
-        RUSTFLAGS: '-D warnings'
-
-    - name: test
-      run: cargo test
-      env:
-        RUSTFLAGS: '-D warnings'
+    - name: Build and Test
+      run: ./ci/build_and_test.sh