Skip to content

breaking: Fix fsys.OpenFile confusion of flags and permissions #448

breaking: Fix fsys.OpenFile confusion of flags and permissions

breaking: Fix fsys.OpenFile confusion of flags and permissions #448

Workflow file for this run

name: Go
on: [pull_request]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: go.mod
check-latest: true
- name: Go modules cache
uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Build
run: go build -v ./...
- name: Build windows
run: GOOS=windows GOARCH=amd64 go build -v ./...
- name: Test
run: go test -v ./...
integration:
strategy:
fail-fast: false
matrix:
image:
- quay.io/k0sproject/bootloose-ubuntu20.04
- quay.io/k0sproject/bootloose-debian12
- quay.io/k0sproject/bootloose-alpine3.18
needs: build
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: go.mod
check-latest: true
- name: install test dependencies
run: |
sudo apt-get update
sudo apt-get install expect
- name: Run integration tests
env:
LINUX_IMAGE: ${{ matrix.image }}
run: make -C test test