change master to main in scripts and docs (#1569)
* change master to main in scripts and docs Changes the naming from master to main in the scripts and documentation. Do not merge unless CI passes! Signed-off-by: Charlie Drage <charlie@charliedrage.com> * remove 1.18, specify version of staticcheck --------- Signed-off-by: Charlie Drage <charlie@charliedrage.com>
This commit is contained in:
@@ -2,9 +2,9 @@ name: Go
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
branches: [ main ]
|
||||
env:
|
||||
# Avoid noisy outputs like "tput: No value for $TERM and no -T specified"
|
||||
TERM: dumb
|
||||
|
||||
@@ -16,11 +16,4 @@ jobs:
|
||||
with:
|
||||
go-version: ${{ matrix.go }}
|
||||
- name: "Run go vet"
|
||||
run: "go vet ./pkg/..."
|
||||
- name: "Run staticcheck"
|
||||
uses: dominikh/staticcheck-action@v1
|
||||
with:
|
||||
cache-key: "${{ matrix.go }}"
|
||||
install-go: false
|
||||
version: "latest"
|
||||
working-directory: "pkg"
|
||||
run: "go vet ./pkg/..."
|
||||
@@ -2,7 +2,7 @@ name: Kompose CI
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
pull_request:
|
||||
env:
|
||||
# Avoid noisy outputs like "tput: No value for $TERM and no -T specified"
|
||||
|
||||
Reference in New Issue
Block a user