diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index deb6985..a7b97c0 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -9,18 +9,25 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install libsystemd headers run: sudo apt-get update && sudo apt-get install libsystemd-dev + - name: Set up Go 1.22 + uses: actions/setup-go@v5 + with: + go-version: "1.22" + cache: false + id: go + - name: Lint - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@v4 with: - args: -p bugs -p unused --timeout=3m + args: -p bugs -p unused -D protogetter --timeout=3m - name: Docker Login - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ${{ secrets.DOCKER_REGISTRY }} username: ${{ secrets.DOCKER_REGISTRY_USER }}