golang 1.20.1 -> 1.21.1 #8
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
# scm-go-usb:ci | |
name: CI | |
on: pull_request | |
env: | |
REGISTRY: ghcr.io | |
jobs: | |
test: | |
runs-on: ubuntu-20.04 | |
container: | |
image: ghcr.io/bcdevices/scm-go-usb-arm:v1.20.1-jammy-2 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Unit Testing | |
run: | | |
make test | |
build-linux-amd64: | |
runs-on: ubuntu-20.04 | |
container: | |
image: ghcr.io/bcdevices/scm-go-usb-arm:v1.20.1-jammy-2 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Build linux-amd64 | |
run: | | |
TARGET_ARCH="linux-amd64" make all | |
build-linux-arm64: | |
runs-on: ubuntu-20.04 | |
container: | |
image: ghcr.io/bcdevices/scm-go-usb-arm:v1.20.1-jammy-2 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Build linux-arm64 | |
run: | | |
TARGET_ARCH="linux-arm64" make all | |
build-linux-armhf: | |
runs-on: ubuntu-20.04 | |
container: | |
image: ghcr.io/bcdevices/scm-go-usb-arm:v1.20.1-jammy-2 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Build linux-armhf | |
run: | | |
TARGET_ARCH="linux-armhf" make all |