Skip to content

chore(deps): update containerbase/internal-tools action to v2.0.6 #1001

chore(deps): update containerbase/internal-tools action to v2.0.6

chore(deps): update containerbase/internal-tools action to v2.0.6 #1001

Workflow file for this run

name: build
on:
push:
branches:
- main
- 'renovate/**'
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
cancel-in-progress: true
env:
NODE_VERSION: 18.18.2 # renovate: datasource=node depName=node
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Set up Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
with:
node-version: ${{ env.NODE_VERSION }}
cache: yarn
- name: enable corepack
run: corepack enable
- name: Installing dependencies
run: yarn install
- name: lint
run: yarn prettier:check
build:
runs-on: ubuntu-latest
needs: [lint]
strategy:
matrix:
distro: [focal]
arch: [x86_64]
env:
DISTRO: ${{ matrix.distro }} # build target, name required by binary-builder
ARCH: ${{ matrix.arch }} # build target, name required by binary-builder
permissions:
contents: write
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: binary-builder
uses: containerbase/internal-tools@8418c5e3cc3cdf2edb078692b9a35bc04c4b0648 # v2.0.6
with:
command: binary-builder
dry-run: ${{github.ref != 'refs/heads/main'}}
token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
with:
name: ${{ env.DISTRO }}
path: .cache/*.tar.xz