diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4965611..bd5f107 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,61 +13,6 @@ jobs: - name: Checkout code uses: actions/checkout@v3 - - name: Set up Go - uses: actions/setup-go@v4 - with: - go-version: '1.22.4' - - - name: Install dependencies - run: | - sudo apt-get update && sudo apt-get install -y make - sudo apt-get install -y ffmpeg - sudo apt-get update - sudo apt-get install -y python3.11 python3.11-venv python3.11-dev python3.11-distutils - sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 1 - python3 --version - - - name: Set up Python environment - run: | - python3 -m venv venv - source venv/bin/activate - pip install --upgrade pip - - - name: Install Python dependencies - run: | - source venv/bin/activate - pip install -r ./python/requirements.txt - - - name: Fetch dependencies - run: make deps - - - name: Update dependencies - run: make update - - - name: Format code - run: make fmt - - - name: Build - run: make build - - - name: Test - run: make test - - - name: Echo Go version - run: go version - - - name: Install staticcheck - run: go install honnef.co/go/tools/cmd/staticcheck@latest - - - name: Static Check - run: make static-check - - - name: Install gosec - run: go install github.com/securego/gosec/v2/cmd/gosec@latest - - - name: Security Scan - run: make security-scan - - name: Set up Git run: | git config user.name "kingmariano"