Skip to content

feat: add go local provider #240

feat: add go local provider

feat: add go local provider #240

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
permissions:
contents: read
packages: write
jobs:
ci:
name: Build & Test
runs-on: ubuntu-24.04-arm
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
if: github.event_name == 'push'
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and test everything (PR)
if: github.event_name != 'push'
uses: docker/build-push-action@v6
with:
context: .
push: false
provenance: false
platforms: linux/arm64
build-args: |
SOURCE_DATE_EPOCH=0
cache-from: type=registry,ref=ghcr.io/${{ github.repository }}/cache:main
secrets: |
"js_e2e_test_env=${{ secrets.JS_E2E_TEST_ENV }}"
- name: Build and test everything (Push - updates cache)
if: github.event_name == 'push'
uses: docker/build-push-action@v6
with:
context: .
push: false
provenance: false
platforms: linux/arm64
build-args: |
SOURCE_DATE_EPOCH=0
cache-from: type=registry,ref=ghcr.io/${{ github.repository }}/cache:main
cache-to: type=registry,ref=ghcr.io/${{ github.repository }}/cache:main,mode=max
secrets: |
"js_e2e_test_env=${{ secrets.JS_E2E_TEST_ENV }}"