Switch to new Scaleway block API #75
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |