diff --git a/.github/workflows/buildmaster.yaml b/.github/workflows/buildmaster.yaml index 6ea1c662a..3cfa0bfb3 100644 --- a/.github/workflows/buildmaster.yaml +++ b/.github/workflows/buildmaster.yaml @@ -11,7 +11,7 @@ jobs: build: strategy: matrix: - go-version: [1.13.x, 1.14.x] + go-version: [~1.13, ^1] platform: [ubuntu-latest, macos-latest] runs-on: ${{ matrix.platform }} @@ -22,7 +22,7 @@ jobs: go-version: ${{ matrix.go-version }} - uses: actions/checkout@v2 - + - name: Build run: go build -o owncast *.go @@ -36,6 +36,6 @@ jobs: - name: Build Docker image run: docker build -t owncast . - + - name: Run Docker image - run: docker run -d -p 8080:8080 -p 1935:1935 owncast \ No newline at end of file + run: docker run -d -p 8080:8080 -p 1935:1935 owncast diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 0aaadbf77..f4cb0e8bf 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -16,7 +16,7 @@ jobs: - name: Install go uses: actions/setup-go@v2 with: - go-version: '1.14.x' + go-version: "^1" - name: Run tests - run: go test ./... \ No newline at end of file + run: go test ./...