ci: integrate with golangci-lint (#13) #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: unfollowers | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
env: | |
ARCHIVE_URL: ${{ secrets.ARCHIVE_URL }} | |
jobs: | |
unfollowers: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: 1.21 | |
cache: true | |
- name: Download instagram information locally | |
run: go run main.go information download $ARCHIVE_URL | |
- name: Find out which instagram users are not following back | |
run: go run main.go followdata unfollowers | |
- name: Cleanup local instagram information | |
run: go run main.go information cleanup |