Skip to content

Commit

Permalink
Merge branch 'main' into fix/IDE-134_update-ls-to-include-range-in-co…
Browse files Browse the repository at this point in the history
…de-custom-scan-messages
  • Loading branch information
bastiandoetsch committed Feb 19, 2024
2 parents e4b99b2 + 04df43f commit 5aa38c2
Show file tree
Hide file tree
Showing 7 changed files with 1,380 additions and 1,576 deletions.
6 changes: 6 additions & 0 deletions .circleci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
jq \
faketime \
zip \
cmake \
nodejs=$(apt-cache policy nodejs | grep nodesource | xargs | cut -d " " -f2)
RUN node -v
RUN apt-get auto-remove -y && apt-get clean -y && rm -rf /var/lib/apt/
Expand Down Expand Up @@ -74,5 +75,10 @@ ENV TEMP=/tmp
ENV TMP=$TEMP
ENV TMPDIR=$TEMP

# install rust and convco
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
RUN ~/.cargo/bin/cargo install convco
ENV PATH=/home/circleci/.cargo/bin:$PATH

WORKDIR /
ENTRYPOINT [""]
9 changes: 6 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ executors:
- image: alpine:3.17
docker-amd64:
docker:
- image: bastiandoetsch209/cli-build:20231210-192113
- image: bastiandoetsch209/cli-build:20240214-145818
working_directory: /mnt/ramdisk/snyk
resource_class: large
docker-arm64:
docker:
- image: bastiandoetsch209/cli-build-arm64:20231210-192113
- image: bastiandoetsch209/cli-build-arm64:20240214-145818
working_directory: /mnt/ramdisk/snyk
resource_class: arm.large
linux-ubuntu-mantic-amd64:
Expand Down Expand Up @@ -808,7 +808,9 @@ jobs:
command: npm ci
- run:
name: Set version
command: make binary-releases/version binary-releases/fips/version
command: |
make binary-releases/version binary-releases/fips/version
make ts-cli-binaries/version BINARY_RELEASES_FOLDER_TS_CLI=ts-cli-binaries
- run:
# required for one unit test (ts-binary-wrapper/test/unit/common.spec.ts:15:30)
# consider removing this run
Expand All @@ -821,6 +823,7 @@ jobs:
root: .
paths:
- binary-releases/*
- ts-cli-binaries/*
- binary-releases/fips/*
- node_modules/*
- ts-binary-wrapper/*
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: 'Check Dependencies'

on:
pull_request:
branches: [master]
branches: [master, main]

jobs:
check-dependencies:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/danger-zone.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: 'Danger Zone'
on:
pull_request:
branches: [master]
branches: [master, main]

jobs:
build:
Expand Down
Loading

0 comments on commit 5aa38c2

Please sign in to comment.