Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: CI

on:
push:
branches: [main]
tags: [v*.*.*r*]
branches: [ main ]
tags: [ v*.*.*r* ]
pull_request:
branches: [main]
branches: [ main ]

permissions:
contents: read
Expand All @@ -14,7 +14,7 @@ permissions:
jobs:
build:
name: Build
runs-on: ubuntu-latest
runs-on: xmage-docker-runners
Comment on lines 15 to +17
steps:
- uses: docker/setup-qemu-action@v4
- uses: docker/setup-buildx-action@v4
Expand Down Expand Up @@ -48,7 +48,8 @@ jobs:

- uses: docker/build-push-action@v7
with:
platforms: ${{ github.event_name == 'pull_request' && 'linux/amd64' || 'linux/amd64,linux/arm64' }}
platforms: ${{ github.event_name == 'pull_request' && 'linux/amd64' ||
'linux/amd64,linux/arm64' }}
push: ${{ github.event_name != 'pull_request' }}
cache-from: type=gha
cache-to: type=gha,mode=max
Expand All @@ -59,7 +60,7 @@ jobs:

test:
if: ${{ github.event_name == 'pull_request' }}
runs-on: ubuntu-latest
runs-on: xmage-docker-runners
Comment on lines 61 to +63
steps:
- uses: docker/setup-buildx-action@v4
- uses: docker/build-push-action@v7
Expand All @@ -69,14 +70,14 @@ jobs:

dprint:
if: ${{ github.event_name == 'pull_request' }}
runs-on: ubuntu-latest
runs-on: xmage-docker-runners
steps:
- uses: actions/checkout@v6
- uses: dprint/check@v2.3

nix:
if: ${{ github.event_name == 'pull_request' }}
runs-on: ubuntu-latest
runs-on: xmage-docker-runners
steps:
- uses: actions/checkout@v6

Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/copilot-setup-steps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Copilot

on:
workflow_dispatch:
push:
paths:
- .github/workflows/copilot-setup-steps.yml
pull_request:
paths:
- .github/workflows/copilot-setup-steps.yml

jobs:
copilot-setup-steps:
runs-on: xmage-docker-runners
Comment on lines +13 to +14
permissions:
contents: read
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- uses: cachix/install-nix-action@ab739621df7a23f52766f9ccc97f38da6b7af14f # v31.10.5
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}

- uses: cachix/cachix-action@1eb2ef646ac0255473d23a5907ad7b04ce94065c # v17
with:
name: unstoppablemango
9 changes: 5 additions & 4 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
on:
schedule:
- cron: '0 0 * * *' # every day at midnight
- cron: "0 0 * * *" # every day at midnight

permissions:
contents: read
packages: write

jobs:
build:
name: Build
runs-on: ubuntu-latest
runs-on: xmage-docker-runners
steps:
- uses: docker/setup-qemu-action@v4
- uses: docker/setup-buildx-action@v4
Expand Down Expand Up @@ -41,7 +41,8 @@ jobs:
- uses: docker/build-push-action@v7
with:
build-args: UPSTREAM_VERSION=master
platforms: ${{ github.event_name == 'pull_request' && 'linux/amd64' || 'linux/amd64,linux/arm64' }}
platforms: |
${{ github.event_name == 'pull_request' && 'linux/amd64' || 'linux/amd64,linux/arm64' }}
push: true
cache-from: type=gha
cache-to: type=gha,mode=max
Expand Down
Loading