Skip to content

Commit

Permalink
github: adapt github actions for migration to core kit
Browse files Browse the repository at this point in the history
Signed-off-by: Arnaldo Garcia Rincon <agarrcia@amazon.com>
  • Loading branch information
arnaldo2792 committed Jun 17, 2024
1 parent b31c95c commit 272b1d4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 44 deletions.
15 changes: 1 addition & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ on:
- '**.tpl'
# Sample config files and OpenAPI docs
- '**.yaml'
# Other files that don't affect the build
- 'packages/os/eni-max-pods'

concurrency:
group: ${{ github.ref }}
Expand Down Expand Up @@ -61,23 +59,12 @@ jobs:
- uses: actions/checkout@v4
- name: Preflight step to set up the runner
uses: ./.github/actions/setup-node
- if: contains(matrix.variant, 'nvidia')
run: |
cat <<-EOF > Licenses.toml
[nvidia]
spdx-id = "LICENSE-LicenseRef-NVIDIA-Customer"
licenses = [
{ path = "NVIDIA", license-url = "https://www.nvidia.com/en-us/drivers/nvidia-license/" }
]
EOF
- run: rustup component add rustfmt
- run: cargo make -e BUILDSYS_VARIANT=${{ matrix.variant }} unit-tests
- run: cargo make -e BUILDSYS_VARIANT=${{ matrix.variant }} check-fmt
# Avoid running Go lint check via `cargo make check-lints` since there's a separate golangci-lint workflow
- run: cargo make -e BUILDSYS_VARIANT=${{ matrix.variant }} check-clippy
- run: cargo make -e BUILDSYS_VARIANT=${{ matrix.variant }} check-shell
- run: |
cargo make -e BUILDSYS_VARIANT=${{ matrix.variant }} \
-e BUILDSYS_ARCH=${{ matrix.arch }} \
-e BUILDSYS_JOBS=12 \
-e BUILDSYS_UPSTREAM_LICENSE_FETCH="${{ contains(matrix.variant, 'nvidia') }}"
-e BUILDSYS_JOBS=12
30 changes: 0 additions & 30 deletions .github/workflows/golangci-lint.yaml

This file was deleted.

0 comments on commit 272b1d4

Please sign in to comment.