Dependencies.

This commit is contained in:
Nuno Cruces
2024-05-06 20:14:14 +01:00
parent 190ca0f0cc
commit 57686a2cf3
10 changed files with 36 additions and 38 deletions

View File

@@ -1,5 +1,5 @@
name: LFS pull
description: Cached LFS pull.
name: Git LFS pull
description: Cached Git LFS pull.
runs:
using: "composite"
@@ -16,6 +16,6 @@ runs:
restore-keys: lfs-
enableCrossOsArchive: true
- name: Git LFS Pull
- name: Git LFS pull
shell: bash
run: git lfs pull

View File

@@ -9,10 +9,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: stable
with: { go-version: stable }
- name: Build
run: .github/workflows/cross.sh

View File

@@ -12,12 +12,8 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
lfs: 'true'
- uses: actions/setup-go@v5
with:
go-version: stable
with: { go-version: stable }
- name: Build
run: .github/workflows/repro.sh

View File

@@ -16,11 +16,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/lfs
- uses: actions/setup-go@v5
with: { go-version: stable }
- name: Git LFS pull
uses: ./.github/actions/lfs
- name: Format
run: gofmt -s -w . && git diff --exit-code
if: matrix.os != 'windows-latest'
@@ -66,17 +67,18 @@ jobs:
github.event_name == 'push' &&
matrix.os == 'ubuntu-latest'
test-m1:
runs-on: macos-14
test-intel:
runs-on: macos-13
needs: test
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/lfs
- uses: actions/setup-go@v5
with: { go-version: stable }
- name: Git LFS pull
uses: ./.github/actions/lfs
- name: Test
run: go test -v ./...
@@ -86,11 +88,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/lfs
- uses: actions/setup-go@v5
with: { go-version: stable }
- name: Git LFS pull
uses: ./.github/actions/lfs
- name: Build
env:
GOOS: freebsd
@@ -111,13 +114,13 @@ jobs:
needs: test
steps:
- uses: docker/setup-qemu-action@v3
- uses: actions/checkout@v4
- uses: ./.github/actions/lfs
- uses: actions/setup-go@v5
with: { go-version: stable }
- uses: docker/setup-qemu-action@v3
- name: Git LFS pull
uses: ./.github/actions/lfs
- name: Test 386 (32-bit)
run: GOARCH=386 go test -v -short ./...
@@ -137,11 +140,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/lfs
- uses: actions/setup-go@v5
with: { go-version: stable }
- name: Git LFS pull
uses: ./.github/actions/lfs
- name: Build illumos
env:
GOOS: illumos