diff --git a/.github/workflows/go.yaml b/.github/workflows/go.yaml index 7b0519e..6f99b19 100644 --- a/.github/workflows/go.yaml +++ b/.github/workflows/go.yaml @@ -14,18 +14,13 @@ jobs: name: Linters (Static Analysis) for Go steps: - name: Checkout code into the Go module directory. - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: go-version: ${{ matrix.go-version }} - - uses: actions/cache@v1 - with: - path: ~/go/pkg/mod - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - - name: Linting & vetting. run: make lint test: @@ -38,18 +33,13 @@ jobs: env: GOBIN: /tmp/.bin steps: - - name: Install Go. - uses: actions/setup-go@v1 - with: - go-version: ${{ matrix.go-version }} - - name: Check out code into the Go module directory. - uses: actions/checkout@v2 + uses: actions/checkout@v3 - - uses: actions/cache@v1 + - name: Install Go. + uses: actions/setup-go@v4 with: - path: ~/go/pkg/mod - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} + go-version: ${{ matrix.go-version }} - name: Install ffmpeg run: | diff --git a/.github/workflows/schedule.yaml b/.github/workflows/schedule.yaml index eead918..dbb368c 100644 --- a/.github/workflows/schedule.yaml +++ b/.github/workflows/schedule.yaml @@ -15,18 +15,13 @@ jobs: env: GOBIN: /tmp/.bin steps: - - name: Install Go. - uses: actions/setup-go@v1 - with: - go-version: ${{ matrix.go-version }} - - name: Check out code into the Go module directory. - uses: actions/checkout@v2 + uses: actions/checkout@v3 - - uses: actions/cache@v1 + - name: Install Go. + uses: actions/setup-go@v4 with: - path: ~/go/pkg/mod - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} + go-version: ${{ matrix.go-version }} - name: Install ffmpeg run: |