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

@@ -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