diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7d4f51d5..bc62670f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -12,11 +12,9 @@ jobs: - { os: windows-latest, target: x86_64-pc-windows-gnu } - { os: ubuntu-latest, target: x86_64-unknown-linux-gnu } steps: - - name: Checkout repository - uses: actions/checkout@v4 + - uses: actions/checkout@v4 - - name: "Setup Rust" - uses: actions-rust-lang/setup-rust-toolchain@v1.5.0 + - uses: actions-rust-lang/setup-rust-toolchain@v1.5.0 with: components: rustfmt, clippy target: ${{ matrix.type.target }} diff --git a/.github/workflows/rcc.yaml b/.github/workflows/rcc.yaml index 1857fe67..17cbf122 100644 --- a/.github/workflows/rcc.yaml +++ b/.github/workflows/rcc.yaml @@ -15,30 +15,24 @@ jobs: runs-on: ubuntu-latest steps: - - name: "Checkout repository" - uses: actions/checkout@v4 - with: - repository: robocorp/rcc - ref: v14.15.4 - - - name: "Setup Go" - uses: actions/setup-go@v3 - with: - go-version: '1.20.x' - - - name: "Setup Rake" - uses: ruby/setup-ruby@v1 - with: - ruby-version: '2.7' - - - name: "Build RCC" - run: rake build - - - name: "Test RCC" - run: rake test - - - name: "Upload RCC binaries" - uses: actions/upload-artifact@v3 - with: - path: build - if-no-files-found: error + - uses: actions/checkout@v4 + with: + repository: robocorp/rcc + ref: v14.15.4 + + - uses: actions/setup-go@v3 + with: + go-version: '1.20.x' + + - uses: ruby/setup-ruby@v1 + with: + ruby-version: '2.7' + + - run: rake build + + - run: rake test + + - uses: actions/upload-artifact@v3 + with: + path: build + if-no-files-found: error diff --git a/.github/workflows/robotmk.yaml b/.github/workflows/robotmk.yaml index 6bb7d6f9..7b4b16c1 100644 --- a/.github/workflows/robotmk.yaml +++ b/.github/workflows/robotmk.yaml @@ -14,20 +14,16 @@ jobs: runs-on: windows-latest steps: - - name: "Checkout repository" - uses: actions/checkout@v4 + - uses: actions/checkout@v4 - - name: "Setup Rust" - uses: actions-rust-lang/setup-rust-toolchain@v1.5.0 + - uses: actions-rust-lang/setup-rust-toolchain@v1.5.0 with: target: x86_64-pc-windows-gnu - - name: "Build Robotmk Windows" + - run: cargo build --target=x86_64-pc-windows-gnu --release working-directory: ${{ github.workspace }}/v2/robotmk/ - run: cargo build --target=x86_64-pc-windows-gnu --release - - name: "Upload Artifact" - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v3 with: path: | ${{ github.workspace }}/v2/robotmk/target/x86_64-pc-windows-gnu/release/robotmk.exe