Skip to content

Bump golang.org/x/term from 0.17.0 to 0.19.0 in /assignment (#31) #75

Bump golang.org/x/term from 0.17.0 to 0.19.0 in /assignment (#31)

Bump golang.org/x/term from 0.17.0 to 0.19.0 in /assignment (#31) #75

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
paths-ignore:
- 'README.md'
- '.github*'
- '.git*'
pull_request:
branches: [ "main" ]
paths-ignore:
- 'README.md'
- '.github*'
- '.git*'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: 1.21
cache: false
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.54
working-directory: ./assignment/
build:
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux, windows, darwin]
goarch: [amd64]
include:
- goos: darwin
goarch: arm64
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: 1.21
cache-dependency-path: |
assignment/go.sum
auth/go.sum
course/go.sum
- name: Display Go version
run: go version
- name: Cross-build assignments
run: |
GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -o assignments-${{ matrix.goos }}-${{ matrix.goarch }} ./assignment/cmd/assignments/main.go