Skip to content

Switch to new Scaleway block API #75

Switch to new Scaleway block API

Switch to new Scaleway block API #75

Workflow file for this run

name: pull-request
on:
- pull_request
jobs:
unit-test:
strategy:
matrix:
go-version: [1.20.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go-version }}
- name: checkout
uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Run unit tests
run: make test
build-test:
strategy:
matrix:
go-version: [1.20.x]
platform: [ubuntu-latest]
arch: [386, amd64, arm, arm64]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go-version }}
- name: checkout
uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Building binary
run: GOARCH=${{ matrix.arch }} make compile