build: Upgrade tools #994
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2021-2023 D2iQ, Inc. All rights reserved. | |
# SPDX-License-Identifier: Apache-2.0 | |
name: build-on-macos | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
branches: | |
- main | |
jobs: | |
build-and-run: | |
runs-on: macos-13 | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Install devbox | |
uses: jetpack-io/[email protected] | |
with: | |
enable-cache: true | |
env: | |
NIX_USER_COUNT: 4 | |
- name: Build | |
run: devbox run -- make SKIP_UPX=false build-snapshot | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run binary | |
run: | | |
./dist/mindthegap_darwin_amd64_v1/mindthegap |