Skip to content

Commit

Permalink
upgrade to work with deno 2
Browse files Browse the repository at this point in the history
  • Loading branch information
justinmchase committed Nov 11, 2024
1 parent 7f3d10e commit 6bc15ff
Show file tree
Hide file tree
Showing 6 changed files with 146 additions and 677 deletions.
24 changes: 23 additions & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,29 @@ jobs:
action:
runs-on: [ ubuntu-latest ]
outputs:
version: ${{ steps.parse_version.outputs.version }}
steps:
- uses: actions/checkout@v4
- uses: ./setup
- run: semver get
- id: parse_version
run: semver parse

docker:
runs-on: ubuntu-latest
needs: action
steps:
- uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Build
uses: docker/build-push-action@v4
with:
push: false
tags: optum/semver-cli:${{ needs.action.outputs.version }}
platforms: linux/amd64
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ RUN mkdir -p /app/bin
COPY deps/ /app/deps
COPY deno.json /app/
COPY deno.lock /app/
RUN deno cache --lock-write deps/mod.ts
RUN deno cache --allow-import deps/mod.ts

# These steps will be re-run upon any file change in your working directory:
ADD src /app/src
Expand Down
Loading

0 comments on commit 6bc15ff

Please sign in to comment.